@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Poppins:wght@600;700;800&display=swap");

:root {
    --pur: #6d28d9;
    --pur-d: #5b21b6;
    --pur-m: #7c3aed;
    --pur-l: #ede9fe;
    --pur-ll: #f5f3ff;
    --amb: #d97706;
    --amb-d: #b45309;
    --amb-l: #fef3c7;
    --rose: #e11d48;
    --rose-d: #be123c;
    --rose-l: #fff1f2;
    --teal: #0d9488;
    --teal-d: #0f766e;
    --teal-l: #ccfbf1;
    --navy: #1e1b4b;
    --slate: #4c4775;
    --muted: #9187b8;
    --border: #ddd6fe;
    --white: #fff;
    --bg: #faf9ff;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --sh-sm: 0 2px 10px rgba(109, 40, 217, 0.09);
    --sh-md: 0 8px 24px rgba(109, 40, 217, 0.15);
    --sh-lg: 0 20px 48px rgba(30, 27, 75, 0.18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: "Nunito", sans-serif;
    background: var(--bg);
    color: var(--navy);
    -webkit-font-smoothing: antialiased;
}
a {
    text-decoration: none;
    color: inherit;
}

/* ══ HERO ════════════════════════════════════════════════ */
.hero {
    background: linear-gradient(110deg, #1e1b4b 0%, #4c1d95 50%, #7c3aed 100%);
    padding: 16px 0 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    top: -90px;
    right: -70px;
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.08);
    bottom: 0;
    left: 8%;
    pointer-events: none;
}

.hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.bc {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 12px;
}
.bc a {
    color: #c4b5fd;
}
.bc span {
    color: rgba(255, 255, 255, 0.18);
}

/* Hero row */
.hero-row {
    display: grid;
    grid-template-columns: 84px 1fr auto;
    gap: 16px;
    align-items: center;
    padding-bottom: 16px;
}
@media (max-width: 700px) {
    .hero-row {
        grid-template-columns: 70px 1fr;
        gap: 12px;
    }
    .hero-actions {
        grid-column: 1/-1;
    }
}

/* Avatar */
.hero-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.22);
    overflow: hidden;
    flex-shrink: 0;
    background: #4c1d95;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}
.hero-avatar img {
    width: 54px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.hero-avatar img.full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Doctor name / info */
.hero-tag {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #fcd34d;
    margin-bottom: 3px;
}
.hero-name {
    font-family: "Poppins", sans-serif;
    font-size: clamp(19px, 3.5vw, 30px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 5px;
}
.hero-spec {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(245, 208, 254, 0.15);
    border: 1px solid rgba(245, 208, 254, 0.22);
    color: #e9d5ff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 100px;
    margin-right: 6px;
    margin-bottom: 6px;
}
.hero-fee {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(217, 119, 6, 0.18);
    border: 1px solid rgba(217, 119, 6, 0.32);
    color: #fcd34d;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 100px;
    margin-bottom: 6px;
}
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
    font-size: 12px;
    font-weight: 600;
    color: rgb(255, 255, 255);
    margin-top: 5px;
}
.hero-meta i {
    margin-right: 4px;
    color: #fcd34d;
}
.hero-meta a {
    color: inherit;
}
.hero-meta a:hover {
    color: #c4b5fd;
}

/* Buttons */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: var(--r-sm);
    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.btn-book {
    background: var(--rose);
    color: #fff;
    box-shadow: 0 3px 12px rgba(225, 29, 72, 0.38);
}
.btn-book:hover {
    background: #dd2413;
    color: white;
    transform: translateY(-1px);
}
.btn-call {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 3px 12px rgba(13, 148, 136, 0.32);
}
.btn-call:hover {
    color: white;
    background: var(--teal-d);
    transform: translateY(-1px);
}
.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    color: white;
    transform: translateY(-1px);
}

.hero-wave {
    display: block;
    width: 100%;
    margin-bottom: -2px;
    margin-top: 18px;
}

/* ══ QUICK INFO BAR ════════════════════════════════════════ */
.info-bar {
    background: var(--white);
    border-bottom: 1.5px solid var(--border);
    box-shadow: var(--sh-sm);
}
.info-bar-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 13px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    align-items: center;
}
.ibar-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
    color: var(--slate);
}
.ibar-icon {
    width: 33px;
    height: 33px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ibar-icon--pur {
    background: var(--pur-l);
}
.ibar-icon--amb {
    background: var(--amb-l);
}
.ibar-icon--rose {
    background: var(--rose-l);
}
.ibar-icon--teal {
    background: var(--teal-l);
}
.ibar-icon--pur svg {
    color: var(--pur-m);
}
.ibar-icon--amb svg {
    color: var(--amb);
}
.ibar-icon--rose svg {
    color: var(--rose);
}
.ibar-icon--teal svg {
    color: var(--teal);
}
.ibar-icon svg {
    width: 15px;
    height: 15px;
}
.ibar-lbl {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
}
.ibar-val {
    font-weight: 800;
    color: var(--navy);
}
.ibar-val--amb {
    color: var(--amb);
}
.ibar-val--ok {
    color: #0d6b35;
}
.ibar-val--no {
    color: #a8200e;
}

/* ══ TABS ══════════════════════════════════════════════════ */
.tabs-wrap {
    background: var(--white);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 80;
    box-shadow: 0 2px 10px rgba(109, 40, 217, 0.07);
}
.tabs-scroll {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}
.tabs-scroll::-webkit-scrollbar {
    display: none;
}
.tab-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 13px 18px;
    border: none;
    background: transparent;
    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: all 0.2s;
    position: relative;
    top: 2px;
}
.tab-btn svg {
    width: 14px;
    height: 14px;
}
.tab-btn:hover {
    color: var(--pur);
}
.tab-btn.active {
    color: var(--pur-d);
    border-bottom-color: var(--pur);
}

/* ══ CONTENT ═══════════════════════════════════════════════ */
.content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 22px 16px 60px;
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
    animation: fu 0.25s ease;
}
@keyframes fu {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sec-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pur-d);
    margin-bottom: 14px;
}
.sec-label::after {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--pur);
    border-radius: 2px;
    display: block;
}

/* ══ SCHEDULE CARD ═════════════════════════════════════════ */
.sched-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    overflow: hidden;
}

/* Card header strip */
.sched-head {
    background: linear-gradient(110deg, #1e1b4b, #4c1d95, #7c3aed);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.sched-head-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sched-head-avatar img {
    width: 30px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
}
.sched-head-name {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.sched-head-sub {
    font-size: 12px;
    color: #c4b5fd;
    font-weight: 600;
}

/* Two-column body */
.sched-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 600px) {
    .sched-body {
        grid-template-columns: 1fr;
    }
}

/* Schedule table */
.sched-table-wrap {
    padding: 16px 18px;
    border-right: 1.5px solid var(--border);
}
@media (max-width: 600px) {
    .sched-table-wrap {
        border-right: none;
        border-bottom: 1.5px solid var(--border);
    }
}
.sched-tbl-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pur-d);
    margin-bottom: 10px;
}
.sched-tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.sched-tbl th {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--pur-d);
    padding: 6px 8px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    background: var(--pur-l);
}
.sched-tbl td {
    padding: 9px 8px;
    border-bottom: 1px solid var(--border);
    color: var(--slate);
    font-weight: 600;
}
.sched-tbl tr:last-child td {
    border-bottom: none;
}
.sched-tbl td:first-child {
    color: var(--muted);
    font-size: 11px;
}

/* Status badge */
.sbadge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
}
.sbadge::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}
.sbadge-ok {
    background: #bbf0d0;
    color: #0d6b35;
}
.sbadge-no {
    background: #fdd0cc;
    color: #a8200e;
}
.sbadge-def {
    background: var(--pur-l);
    color: var(--pur-d);
}

/* Aside info + actions */
.sched-aside {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.sa-block {
}
.sa-lbl {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pur-d);
    margin-bottom: 3px;
}
.sa-val {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
}
.sa-val--fee {
    color: var(--amb);
    font-size: 20px;
    font-weight: 900;
}
.sa-val--sm {
    font-size: 13px;
    font-weight: 600;
    color: var(--slate);
    line-height: 1.5;
}

.sa-btns {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: auto;
}
.abtn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: var(--r-sm);
    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}
.abtn svg {
    width: 13px;
    height: 13px;
}
.abtn-rose {
    background: var(--rose);
    color: #fff;
}
.abtn-rose:hover {
    background: var(--rose-d);
}
.abtn-call {
    background: var(--teal);
    color: #fff;
}
.abtn-call:hover {
    background: var(--teal-d);
    color: white;
}

/* ══ PHOTOS ════════════════════════════════════════════════ */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.photo-item {
    aspect-ratio: 1;
    border-radius: var(--r-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border);
    box-shadow: var(--sh-sm);
    position: relative;
    transition: all 0.2s;
}
.photo-item:hover {
    transform: scale(1.04);
    box-shadow: var(--sh-md);
    border-color: var(--pur);
}
.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.photo-over {
    position: absolute;
    inset: 0;
    background: rgba(30, 27, 75, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}
.photo-item:hover .photo-over {
    opacity: 1;
}
.photo-over svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

/* ══ SERVICES ══════════════════════════════════════════════ */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.svc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    padding: 11px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
    box-shadow: var(--sh-sm);
    transition: all 0.18s;
    text-transform: capitalize;
}
.svc-item:hover {
    border-color: var(--pur);
    background: var(--pur-l);
    color: var(--pur-d);
}
.svc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pur);
    flex-shrink: 0;
}

/* ══ ABOUT ═════════════════════════════════════════════════ */
.about-list {
    display: grid;
    gap: 14px;
}
.about-block {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    padding: 20px 22px;
    box-shadow: var(--sh-sm);
    border-left: 4px solid var(--pur);
}
.about-block--amb {
    border-left-color: var(--amb);
}
.about-block--rose {
    border-left-color: var(--rose);
}
.ab-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pur-d);
    background: var(--pur-l);
    padding: 2px 10px;
    border-radius: 100px;
    display: inline-block;
    margin-bottom: 8px;
}
.ab-tag--amb {
    color: var(--amb-d);
    background: var(--amb-l);
}
.ab-tag--rose {
    color: #9f0f2c;
    background: #ffe4e6;
}
.about-block h3 {
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.about-block p {
    color: var(--slate);
    font-size: 14px;
    line-height: 1.7;
}

/* ══ EMPTY ═════════════════════════════════════════════════ */
.empty {
    background: var(--white);
    border: 2px dashed var(--border);
    border-radius: var(--r-lg);
    padding: 48px 20px;
    text-align: center;
    color: var(--muted);
}
.empty svg {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    opacity: 0.35;
}
.empty p {
    font-size: 14px;
    font-weight: 700;
}

/* ══ MODALS ════════════════════════════════════════════════ */
.modal-ov {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 27, 75, 0.72);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 14px;
}
.modal-ov.open {
    display: flex;
    animation: fadeIn 0.18s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.modal-box {
    background: var(--white);
    border-radius: var(--r-lg);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--sh-lg);
    animation: sUp 0.22s ease;
}
@keyframes sUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.mhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(to right, var(--pur-ll), var(--white));
    position: sticky;
    top: 0;
    z-index: 1;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.mhead h3 {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mhead h3 svg {
    width: 16px;
    height: 16px;
    color: var(--pur);
}
.mclose {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pur-ll);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 16px;
    line-height: 1;
    transition: all 0.18s;
}
.mclose:hover {
    background: #ffe4e6;
    color: var(--rose);
    border-color: #fecdd3;
}
.mbody {
    padding: 18px 20px;
}
.fg {
    display: grid;
    gap: 12px;
}
.fr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 420px) {
    .fr {
        grid-template-columns: 1fr;
    }
}
.fgrp {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.flbl {
    font-size: 12px;
    font-weight: 700;
    color: var(--slate);
}
.fc {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    font-family: "Nunito", sans-serif;
    font-size: 13.5px;
    color: var(--navy);
    background: var(--pur-ll);
    outline: none;
    transition: border-color 0.18s;
}
.fc:focus {
    border-color: var(--pur);
    background: var(--white);
}
.fc[readonly] {
    color: var(--muted);
    cursor: not-allowed;
}
textarea.fc {
    resize: vertical;
    min-height: 90px;
}
.btn-sub {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--r-sm);
    font-family: "Nunito", sans-serif;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-sub-rose {
    background: var(--rose);
    color: #fff;
}
.btn-sub-rose:hover {
    background: var(--rose-d);
}
.btn-sub-pur {
    background: var(--pur);
    color: #fff;
}
.btn-sub-pur:hover {
    background: var(--pur-d);
}
.btn-sub-teal {
    background: var(--teal);
    color: #fff;
}
.btn-sub-teal:hover {
    background: var(--teal-d);
}

/* Rating */
.rat-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0 4px;
}
.rat-a {
    cursor: pointer;
    opacity: 0.4;
    transition:
        opacity 0.18s,
        transform 0.18s;
}
.rat-a:hover,
.rat-a.on {
    opacity: 1;
    transform: scale(1.15);
}
.rat-a img {
    width: 32px;
    height: 32px;
    display: block;
}
.rat-txt {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
    margin-bottom: 12px;
}
.rat-txt strong {
    color: var(--navy);
}

/* Result modal */
.res-wrap {
    text-align: center;
    padding: 32px 18px;
}
.res-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.res-ok {
    background: #dcfce7;
}
.res-err {
    background: #fee2e2;
}
.res-icon svg {
    width: 28px;
    height: 28px;
}
.res-wrap h3 {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}
.res-wrap p {
    color: var(--muted);
    font-size: 13.5px;
    margin-bottom: 18px;
}

.pv-img {
    width: 100%;
    border-radius: var(--r-sm);
    display: block;
}

@media (max-width: 500px) {
    .btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    .hero-name {
        font-size: 18px;
    }
}
