/* ================================================
   Doctor Appointment Booking - Combined Styles
   ================================================ */

/* Common Variables */
:root {
    --primary-plate: #7FACA6;
    --active-color: #227065;
    --accent: #227065;
    --muted-bg: #E5E5E5;
    --subtitle-gray: #777777;
    --card-bg: #ffffff;
    --card: #ffffff;
    --muted: #666;
    --bg: #f3fdf9;
    --text-primary: #131313;
    --text-secondary: #151515;
    --background-light: #E0FBE9;
    --border-light: #E5E5E5;
    --background-white: #FFFFFF;
    --panel: #f7f9f8;
}

/* ================================================
   Book Appointment Step Styles
   ================================================ */
.dab-book-appointment {
    padding: 40px;
    background: #eefdf9;
    font-family: 'DM Sans', system-ui, Arial;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pqf-wrapper {
    max-width: 920px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 18px;
    padding: 48px 64px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
div#dab-booking-container {
    /* padding: 40px 70px; */
    background: #eefdf9;
}

.doctor-detials {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}
.pqf-heading {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 32px;
    line-height: 42px;
    text-align: center;
    text-transform: capitalize;
    margin: 0 0 8px 0;
    color: #111;
}

.pqf-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
    text-transform: capitalize;
    color: var(--subtitle-gray);
    margin: 0 0 28px 0;
}

.pqf-reason-dropdown {
    position: relative;
    margin: 24px auto 0;
}

.pqf-select-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    background: #fff;
    font-size: 16px;
    cursor: pointer;
}

.pqf-select-pill .pqf-chev {
    opacity: 0.6;
    margin-left: 8px;
}

.pqf-dropdown-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.pqf-dropdown-card {
    pointer-events: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    padding: 12px 14px;
    width: 300px;
}

.pqf-select-pill.active {
    background: var(--active-color);
    color: #fff;
    border-color: transparent;
}

.pqf-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pqf-dropdown-item {
    font-family: 'DM Sans', sans-serif;
    padding: 18px 10px;
    color: #424242;
    border-radius: 8px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
}

.pqf-dropdown-item:hover {
    background: #eef6f2;
}

.pqf-dropdown-item + .pqf-dropdown-item {
    margin-top: 6px;
}

.pqf-cta {
    display: block;
    margin: 36px auto 0;
    background: var(--active-color);
    color: #fff;
    padding: 16px;
    border-radius: 28px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    width: 100%;
}

.pqf-cta:hover {
    background: #1a5a51;
}

.pqf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.pqf-pill {
    background: #f6f6f6;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
}

.pqf-pill[aria-checked="true"] {
    background: var(--active-color);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 12px rgba(34, 112, 101, 0.14);
}

/* ================================================
   All Doctors List Styles
   ================================================ */
.dab-all-doctors {
    font-family: 'DM Sans', system-ui, Arial;
    background: #eefdf9;
    margin: 0;
    padding: 0;
}



.topbar .filters {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-left: 24px;
}

.container {
     max-width: 1420px !important;
    margin: 22px auto;
    padding:20px;
}

.back {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #163f3a;
    margin-bottom: 18px;
}

.back a {
    color: #163f3a;
    text-decoration: none;
}

.doctor-card {
    background: var(--card);
    border-radius: 12px;
    padding: 22px;
    display: flex;
    gap: 24px;
    align-items: start;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.photo {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    background: #e6f0ef;
}

.meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.doc-name {
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    color: #151515;
    margin: 0;
}

.doc-creds {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--accent);
    margin: 0;
}

.doc-specialty {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    margin:0px !important;
}

.doc-rating {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #333;
    display: flex;
    align-items: center;
}

.doctor-address {
    font-size: 16px;
    color: #666;
    margin-top: 0px;
}

.mode-pills {
    display: flex;
    gap: 10px;
    margin: 12px 0;
	background: #E9F1F0;
    padding: 5px 10px;
    border-radius: 10px;
    width: 100%;
}

.pill {
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.pill.active {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
}

.service-select {
    margin-top: 12px;
    border-radius: 10px;
    border: 1px solid #eee;
    padding: 14px;
    background: #fafafa;
    cursor: pointer;
    position: relative;
}

.service-select:hover {
    background: #f0f0f0;
}

.filter-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}
.service-select {
    display: none;
}
.filter-pill {
    background: #fff;
    padding: 8px 14px;
    border-radius: 12px;
    /* min-width: 380px; */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e0e0e0;
    color: #3D3D3D;
}

.filter-pill:hover {
    background: #f8f8f8;
}

.dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin-top: 8px;
    z-index: 1000;
    display: none;
    max-height: 200px;
    overflow-y: auto;
}

.dropdown-item {
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #3D3D3D;
}

.dropdown-item:hover {
    background: #f0f8f6;
}

.doctor-detail {
    display: flex;
    gap: 40px;
    width: 50%;
}

.details-main {
    width: 100%;
}

.profile-header {
    display: flex;
    gap: 50px;
    margin-bottom: 16px !important;
}

.line-main {
    height: 280px;
    background-color: #E8E8E8;
    width: 1px;
}

.dab-next-btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
}

.dab-next-btn:hover {
    background: #ffffff;
}

/* ================================================
   Calendar & Time Slots (Common for Multiple Steps)
   ================================================ */
.slots {
    padding: 6px 12px;
    width: 50%;
    box-sizing: border-box;
    overflow: hidden;
}


.slots .title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
	font-size: 16px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.month-year-display {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    flex: 1;
}

.next-available {
    color: #227065;
    font-size: 14px;
    font-weight: 500;
    margin: 0 10px;
}

.nav-arrow {
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
	padding: 0 !important;
}

.nav-arrow:hover {
    background: #e0e0e0;
    color: var(--accent);
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.arrows-main {
    display: flex;
    gap: 5px;
}

.days-container {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
}

.weekdays-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    padding: 8px 4px;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.days {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
    width: max-content;
}

.day {
    border-radius: 8px;
    padding: 12px 8px;
    background: #fff;
    border: 1px solid #f0f0f0;
    text-align: center;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
	   font-size: 14px;
    flex-direction: column;
    /* padding: 15px 20px; */
    min-width: 93px; 
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.day:hover {
    border-color: var(--accent);
    background: #f8fffe;
}

.day.selected {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
	 
}

.day.unavailable {
    background: #ffebee;
    border-color: #e57373;
    color: #c62828;
    cursor: not-allowed;
    opacity: 0.7;
}

.day.past {
    background: #f5f5f5;
    color: #aaa;
    cursor: not-allowed;
    opacity: 0.5;
}

.day.today {
    font-weight: 700;
    border-width: 2px;
}

.day.empty {
    background: transparent;
    border: none;
    cursor: default;
}

.day.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(6, 93px);
    gap: 12px;
    justify-content: start;
}


.time {
    background: #e9f7f4;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
    min-width: 93px;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile responsive time slots */
.time:hover {
    background: #d4f0eb;
    transform: translateY(-2px);
}

.time.selected {
    background: var(--accent);
    color: #fff;
}

/* ================================================
   Doctor Profile Page Styles
   ================================================ */
.dab-doctor-profile {
    font-family: 'DM Sans', sans-serif;
    background: #FAFAFA;
    color: var(--text-primary);
    padding: 40px 70px;
}

.profile-container {
    max-width: 1620px;
    min-height: 100vh;
}

.profile-main {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.profile-left {
    width: 60%;
}

.profile-right {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    height: fit-content;
    width: 40%;
}

.profile-back {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'DM Sans';
    font-weight: 400;
    font-size: 16px;
}

.profile-back:hover {
    color: var(--active-color);
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    background: #C4C4C4;
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-family: 'DM Sans';
    font-weight: 500;
    font-size: 24px;
    line-height: 24px;
    color: var(--text-primary);
    margin-bottom: 4px;
    margin-top: 10px;
}
.profile-name span {
   font-size: 16px; 
}
.profile-credentials {
    font-family: 'DM Sans';
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #666666;
    margin-bottom: 8px;
}

.profile-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.profile-stars {
    color: #FFB800;
    font-size: 24px;
}

.profile-rating-text {
    font-family: 'DM Sans';
    font-weight: 400;
    font-size: 14px;
    color: #666666;
}

.profile-address {
    font-family: 'DM Sans';
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #666666;
}

.profile-availability {
    background: var(--background-light);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 32px;
}

.profile-availability-text {
    font-family: 'DM Sans';
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--active-color);
}

.profile-services-section {
    margin-bottom: 40px;
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
}

.profile-services-title {
    font-family: 'Archivo';
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.profile-service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    margin-bottom: 12px;
}

.profile-service-item:last-child {
    margin-bottom: 0;
}

.profile-service-info {
    flex: 1;
}

.profile-service-name {
    font-family: 'DM Sans';
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-service-duration {
    font-family: 'DM Sans';
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #666666;
}

.profile-service-price {
    font-family: 'DM Sans';
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
}

.profile-service-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #E5E5E5;
    border-radius: 4px;
    margin-right: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.profile-service-item.active {
    border-color: var(--active-color);
    background: #F6FBF8;
    box-shadow: 0 2px 6px rgba(34, 112, 101, 0.06);
}

.profile-service-checkbox.checked {
    background: var(--active-color);
    border-color: var(--active-color);
    color: white;
}

.profile-service-checkbox.checked::after {
    content: '✓';
    font-size: 12px;
    font-weight: bold;
}

.profile-about-section {
    background: var(--background-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
}

.profile-about-title {
    font-family: 'Archivo';
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.profile-about-text {
    font-family: 'DM Sans';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.profile-register-section {
    margin-bottom: 40px;
}

.profile-register-title {
    font-family: 'Archivo';
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.profile-register-subtitle {
    font-family: 'DM Sans';
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.profile-form-group {
    margin-bottom: 24px;
    position: relative;
}

.profile-form-label {
    font-family: 'DM Sans';
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}

.profile-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: 'DM Sans';
    font-weight: 400;
    font-size: 16px;
    background: var(--background-white);
    color: var(--text-primary);
    cursor: pointer;
}

.profile-select:focus {
    outline: none;
    border-color: var(--active-color);
}
button.btn.backbtn {
    color: #777777 !important;
}
.profile-form-group .dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin-top: 8px;
    z-index: 1001;
    display: none;
    max-height: 200px;
    overflow-y: auto;
}
    
.profile-location-pills {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.profile-pill {
    padding: 8px 16px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-family: 'DM Sans';
    font-weight: 500;
    font-size: 14px;
    background: var(--background-white);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-pill.active {
    background: var(--active-color);
    color: white;
    border-color: var(--active-color);
}

.profile-facility {
    font-family: 'DM Sans';
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.profile-facility-address {
    font-family: 'DM Sans';
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #666666;
}

.profile-register-btn {
    width: 100%;
    padding: 16px;
    background: var(--active-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'DM Sans';
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 10px;
}

.profile-register-btn:hover {
    background: #1a5a51;
}

/* ================================================
   Patient Data Form Styles
   ================================================ */
.dab-patient-data {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: #131313;
}

.dab-patient-data .container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 24px;
}

.steps {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-transform: capitalize;
}

.step .circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px dashed rgba(34, 112, 101, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step.active .circle {
    background: var(--card);
    border-style: solid;
    border-color: var(--accent);
}

.layout {
    display: flex;
    grid-template-columns: 1fr 360px;
    gap: 24px;
}

.card {
    background: var(--card);
    border-radius: 12px;
    padding: 20px;
	width: 65%;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pill-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;

}

label {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    text-transform: capitalize;
    color: #131313;
    margin-bottom: 6px;
    display: block;
}

input[type=text],
input[type=email],
input[type=date],
select,
textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #eee;
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    line-height: 24px;
    color: #131313;
}

input::placeholder,
textarea::placeholder {
    color: #CFCFCF;
    font-weight: 400;
}

select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="5"><path fill="%23666" d="m0 0 4 5-4-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    appearance: none;
    -webkit-appearance: none;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

.btn-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.btn {
    background: #227065;
    color: #fff;
    padding: 12px 24px;
    border-radius: 28px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover {
    background: #1a5a51;
}

.summary {
    background: var(--card);
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #f0f0f0;
	width: 35%;
	height: 100%;
}

.summary h3 {
 margin: 0 0 8px 0;
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #131313;
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 12px;
}

.summary .row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 12px 0;
}

.avatar {
     width: 110px !important;
    height: 90px !important;
    border-radius: 8px;
    background: #c4c4c4;
}

.summary .meta {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #3D3D3D;
}

.summary .total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.summary .total .label {
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #131313;
}

#summaryPrice {
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: var(--accent);
}

.doctor-name {
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #151515;
}

.item-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    color: #3D3D3D;
    margin-bottom: 6px;
}

.item-value {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 110%;
    color: #3D3D3D;
}

/* ================================================
   Confirmation Page Styles
   ================================================ */
.dab-confirm-booking {
    background: #EFFBF8;
    font-family: 'DM Sans', sans-serif;
    color: #1E1E1E;
}

.wrap {
    max-width: 820px;
    margin: 40px auto;
    padding: 28px;
}

.thumb {
    font-size: 64px;
    margin-bottom: 8px;
}

.title {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 42px;
    color: #1E1E1E;
    margin: 6px 0;
}

.subtitle {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #686868;
    margin-bottom: 20px;
}

.details-box {
    margin-top: 18px;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    padding: 18px;
    text-align: left;
}

.details-head {
    font-family: 'Archivo', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 22px;
    margin-bottom: 12px;
}

.two-col {
    display: flex;
    gap: 24px;
}

.col {
    flex: 1;
}

.person-name {
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    color: #1E1E1E;
}

.person-email {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 110%;
    color: #686868;
}

.details-box .row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 8px 0;
}

.icon {
    width: 24px;
}

.controls {
    display: flex;
    justify-content: space-between;
    margin-top: 22px;
}

.controls .btn {
    padding: 12px 22px;
    border-radius: 28px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.controls .btn.primary {
    background: var(--accent);
    color: white;
    border: none;
}

.controls .btn:hover {
    opacity: 0.9;
}

/* ================================================
   Responsive Media Queries
   ================================================ */
@media (max-width: 520px) {
    .pqf-dropdown-card {
        width: 100%;
        left: 0;
        right: 0;
        max-width: none;
        padding: 10px;
        border-radius: 12px;
    }

    .pqf-dropdown-item {
        font-size: 14px;
        padding: 12px 6px;
    }

    .pqf-wrapper {
        padding: 22px;
    }

    .pqf-heading {
        font-size: 26px;
    }
}

@media (max-width: 900px) {
	.pqf-grid{
		display: flex;
		flex-direction: column;
		
	}
    .layout {
        grid-template-columns: 1fr;
    }

    .dab-patient-data .container {
        padding: 12px;
    }

    .slots {
        width: 100%;
    }

    .profile-main {
        flex-direction: column;
    }

    .profile-left,
    .profile-right {
        width: 100%;
    }
}

/* ================================================
   Calendar Month/Year Headers
   ================================================ */
.calendar-month-year {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding: 8px 16px;
    background: rgba(127, 172, 166, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(127, 172, 166, 0.2);
}

.calendar-month-year:empty {
    display: none;
}
.topbar-main {
    background: var(--accent);
}
.topbar {
    max-width: 1420px !important;
    margin: 22px auto;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff;
    flex-wrap: wrap;
}


/* ================================================
   Notification System
   ================================================ */
.dab-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    font-family: 'DM Sans', system-ui, Arial;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease-out;
    cursor: pointer;
}

.dab-notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.dab-notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.dab-notification.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.dab-notification.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.dab-notification-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.dab-notification-close {
    margin-left: auto;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.dab-notification-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile notification adjustments */
@media (max-width: 768px) {
    .days {
        gap: 4px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 8px; 
        min-width: 90px;
    }
     .dab-book-appointment {
        padding: 20px 10px;
    }
    
    .doctor-card {
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .pqf-grid {
        flex-direction: column;
        gap: 20px;
    }
     .dab-notification {
        left: 20px;
        right: 20px;
        max-width: none;
        top: 10px;
        font-size: 13px;
        padding: 14px 16px;
    }
    .days::-webkit-scrollbar {
        display: none;
    }
    
    .day {
        font-size: 11px;
        flex-shrink: 0;
        text-align: center;
        line-height: 1.2;
    }
     .time-grid {
        display: flex;
        gap: 4px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 8px;
    }
    .time-grid::-webkit-scrollbar {
        display: none;
    }
    .time-grid .time {
        min-width: 90px;
        width: 90px;
        flex-shrink: 0;
        font-size: 9px;
        padding: 8px 2px;
    }
    .days {
        width: max-content !important;
    }
    .day {
        width: max-content !important;
    }
    
    .doctor-card .slots {
        padding: 6px 8px;
        overflow: hidden; /* Prevent any overflow */
    }
    
    .calendar-header {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .nav-arrow {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .arrows-main {
        gap: 3px;
    }
    
    /* Ensure days container doesn't exceed parent width */
    .days-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    /* Responsive adjustments for month/year headers */
    .calendar-month-year {
        font-size: 14px;
        padding: 6px 12px;
        margin-bottom: 10px;
    }
    .dab-doctor-profile {
        padding: 20px;
    }
    .topbar{
        flex-direction: column;
        
    }
    .topbar .filters {
        flex-direction: column;
        margin-left: 0px;
    }
    .hfeed{
        overflow: hidden;
    }
    .filter-dropdown{
    width: 100%;
    }
    .filter-pill {
        min-width: 100% !important;
    }
    .line-main{
        display: none;
    }
    .profile-header{
            flex-direction: column;
    }
    .layout{
    flex-direction: column;
    }
    .card{
        width: 100%;
    }
    .summary{
        width: 100%;
    }
    .pill-row {
        flex-direction: column;
    }
    .pill {
    width: 100% !important;
        background: #f6f6f6;
    }
    .pill-row .pill {
    width: 100% !important;
        background: #f6f6f6;
    }
    .form-grid{
    display: flex;
    flex-direction: column;
    }
    .summary .row {
        display: flex;
        flex-direction: column;
        align-items: start;
    }
    .steps {
        gap: 10px;
        flex-direction: column;
    }
    .two-col {
        display: flex;
        gap: 24px;
        flex-direction: column;
    }
    .controls {
        display: flex;
        justify-content: space-between;
        margin-top: 22px;
        flex-direction: column;
        gap: 10px;
    }
    .topbar {
        background: var(--accent);
        color: #fff;
        padding: 20px;
        display: flex;
        align-items: stretch;
        gap: 18px;
    }
    .mode-pills{
        width: 100%;
    }
    .profile-about-title {
        font-family: 'Archivo';
        font-weight: 500;
        font-size: 18px;
        line-height: 32px;
        color: var(--text-secondary);
        margin-bottom: 24px;
    }
    .time {
        padding: 10px 3px;
        font-size: 10px;
        border-radius: 6px;
        min-width: 90px;
        width: 90px;
        white-space: nowrap;
        flex-shrink: 0;
        box-sizing: border-box;
    }
    .time-grid {
        display: flex;
        gap: 4px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 8px;
        width: 100%;
    }
    .time-grid::-webkit-scrollbar {
        display: none;
    }
    
    /* Ensure days and times scroll together */
    .days-container, .time-grid {
        scroll-behavior: smooth;
    }
    .days-grid {
        gap: 2px;
    }
    .slots {
        width: 100%;
        padding: 8px;
    }
    a#dab-back-button {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #163f3a;
        margin-bottom: 18px;
        width: max-content;
        border: none;
        background: transparent;
        position: absolute;
        top: 120px;
    }
}

@media (max-width: 480px) {
    .day {
        font-size: 10px;
        line-height: 1.1;
    }
    .time { 
        padding: 6px 2px;
        font-size: 8px;
        min-width: 90px;
        width: 90px;
    }
    .days {
        gap: 3px;
    }
    .time-grid {
        gap: 3px;
    }
    
    .doctor-card {
        margin-bottom: 20px;
        border-radius: 12px;
    }
    .days-grid {
        gap: 1px;
    }
    .slots {
        padding: 6px;
    }
    .calendar-month-year {
        font-size: 12px;
        padding: 5px 10px;
        margin-bottom: 8px;
    }
    
    .doctor-card .slots {
        padding: 4px 6px;
    }
    .calendar-header .title {
        font-size: 14px;
    }
}

/* Extra small screens - prevent calendar overflow */
@media (max-width: 360px) {
    .day {
        padding: 5px 1px;
        font-size: 9px;
        border-radius: 6px;
    }
    
    .days {
        gap: 2px;
    }
    
    .pqf-wrapper {
        padding: 24px 16px;
    }
    
    .doctor-card {
        padding: 16px 12px;
    }
    
    .nav-arrow {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .calendar-header .title {
        font-size: 13px;
    }
}
.calendar-month-year {
	display: none !important;
}
.ast-container, .ast-container-fluid {
	padding: 0px !important;
}

/* Calendar navigation arrow styles */
.nav-arrow:disabled,
.nav-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.nav-arrow {
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.nav-arrow:hover:not(:disabled) {
    opacity: 0.8;
}

/* Month/Year Header Styles */
.calendar-month-year {
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin: 10px 0 15px 0;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}
a#dab-back-button {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #163f3a;
    margin-bottom: 18px;
    width: max-content;
    border: none;
    background: transparent;
    position: absolute;
    top: 180px;
}

@media (max-width: 1000px) {

    .line-main {
        display: none;
    }
    .days, .day {
        width: 100%;
    }
   
    .time-grid {
        display: flex;
        gap: 3px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 8px;
    }
    .time-grid::-webkit-scrollbar {
        display: none;
    }
    .time-grid .time {
        min-width: 90px;
        width: 90px;
        flex-shrink: 0;
        font-size: 8px;
        padding: 6px 2px;
    }
     .doctor-card {
        flex-direction: column;
    }

    .doctor-detail {
        width: 100%;
    }

    .slots {
        width: 100%;
    }
}