:root {
    --bg: #E6F1FF;
    --ink: #1f2a37;
    --muted: #6b7280;
    --line: #e6edf7;
    --card: #ffffff;
    --accent: #ff7a3d;
    --accent-2: #ff8b57;
    --shadow: 0 18px 45px rgba(16, 24, 40, .08);
    --shadow-soft: 0 10px 28px rgba(16, 24, 40, .08);
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

body,
.provider-page {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
}

a,
.provider-avatarLink,
.provider-nameLink {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: rgba(255, 122, 61, 0.65);
}

.container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}


.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg);
    border-bottom: 1px solid rgba(230,237,247,.7);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: .3px;
}

.brand .logo {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 22px;
}

.brand .logo span.accent {
    color: var(--accent);
}

.brand small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
    margin-top: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 500;
    color: #374151;
}

.nav-actions a {
    opacity: .9;
}

.small-logo {
    min-width: 250px;
    max-width: 300px;
    margin-left: 50px;
    max-height: 50px;
    display: block !important;
}

/* ========== NAVBAR TOGGLE ========== */
.navbar-toggler {
    background-color: transparent;
    border: none;
    color: var(--ink);
    transition: all 0.2s ease;
    display: none;
    margin: 0 0 0 auto;
    padding: 0.5rem 0;
    font-size: 1.25rem;
    cursor: pointer;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
}

.navbar-toggler:hover .navbar-toggler-icon {
    opacity: 0.8;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(31, 42, 55, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    transition: opacity 0.2s ease;
}

.navbar-collapse {
    display: none;
    width: 100%;
    padding: 16px 0;
}

.navbar-collapse.show {
    display: block;
}

.navbar-collapse a,
.navbar-collapse button {
    display: block;
    padding: 10px 18px;
    text-align: left;
    color: var(--ink);
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.navbar-collapse a:hover,
.navbar-collapse button:hover {
    background-color: rgba(255, 122, 61, 0.08);
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    min-height: 44px;
}

.btn-primary2,
.vanta-primary {
    background: var(--accent);
    color: #fff;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 14px;
    box-shadow: 0 10px 20px rgba(255,122,61,.25);
}

.btn-primary2:hover,
.vanta-primary:hover {
    background: var(--accent-2);
    color: #fff;
}

.vanta-ghost,
.appt-cta {
    background: #fff;
    border: 1px solid rgba(31,42,55,.16);
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 14px;
    color: var(--ink);
    text-decoration: none;
    transition: transform 160ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.appt-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
}

.appt-cta:hover {
    transform: translateY(-1px);
    border-color: rgba(255,122,61,.45);
    box-shadow: 0 12px 24px rgba(16,24,40,.10);
}

.vanta-outline {
    background: #fff;
    color: var(--ink);
    border: 1.5px solid rgba(255,122,61,.55);
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    padding: 10px 14px;
}

.vanta-outline:hover {
    border-color: var(--accent);
}


.hero {
    background: var(--bg) url(/sample_stock.png) no-repeat right center;
    background-size: contain;
    padding: 46px 0 56px;
    overflow: hidden;
    min-height: 55vh;
    max-height: 55vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 42px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(26px, 2.6vw, 40px);
    line-height: 1.15;
    margin: 0 0 10px;
    letter-spacing: -0.2px;
}

.hero p {
    margin: 0 0 22px;
    color: var(--muted);
    font-weight: 400;
}


.search-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
}

.search-border {
    border: none;
}

.field {
    padding: 14px 16px;
    border-right: 1px solid var(--line);
}

.field:last-of-type {
    border-right: none;
}

.label,
.filter-label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
    font-weight: 500;
}

.filter-label {
    font-weight: 700;
    margin: 0;
}


.control {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
}

.placeholder {
    color: #9aa3b2;
    font-weight: 500;
}

.chev {
    margin-left: auto;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #9aa3b2;
}

.search-border {
    border: none;
}

.search-btn {
    height: auto;
    border-radius: 0;
    padding: 0 22px;
    min-width: 110px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: color 200ms ease;
}

.search-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent-2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
    z-index: 0;
}

.search-btn span {
    position: relative;
    z-index: 1;
}

.search-btn:hover::before {
    transform: scaleX(1);
}


.section {
    padding: 44px 0 70px;
}

.section h2 {
    margin: 0 0 18px;
    font-size: 28px;
    letter-spacing: -0.2px;
}


.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pill-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 2px solid rgba(255, 122, 61, 0.65);
    background: transparent;
    color: #111827;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: color 200ms ease, border-color 200ms ease, transform 180ms ease;
}

.pill-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #ff7a3d;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
    z-index: 0;
}

.pill-link span {
    position: relative;
    z-index: 1;
}

.pill-link:hover {
    color: #fff;
    border-color: #ff7a3d;
    transform: translateY(-2px);
}

.pill-link:hover::before {
    transform: scaleX(1);
}

.pill-link:active {
    transform: translateY(0);
}

.pill-link:focus-visible {
    outline: none;
    color: #fff;
    border-color: #ff7a3d;
    box-shadow: 0 0 0 3px rgba(255, 122, 61, 0.35);
}

.pill-link:focus-visible::before {
    transform: scaleX(1);
}

.slot-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1.5px solid rgba(255,122,61,.55);
    background: transparent;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    overflow: hidden;
    transition: transform 160ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.slot-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
    z-index: 0;
}

.slot-btn span {
    position: relative;
    z-index: 1;
}

.slot-btn:hover {
    color: #fff;
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(255,122,61,.18);
}

.slot-btn:hover::before {
    transform: scaleX(1);
}

.slot-btn--more {
    border-color: rgba(31,42,55,.18);
}

.slot-btn--more:hover {
    border-color: var(--accent);
}


.results-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0 18px;
}

.results-head h3 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.2px;
}

.results-head p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.results-head > div:last-child {
    display: flex;
    gap: 16px;
    align-items: center;
}

.results-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 22px;
    align-items: start;
}

.results-container-padded {
    padding:30px;
}


.card,
.vanta-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.section-card,
.booking-card {
    padding: 16px;
}

.section-title,
.booking-title {
    margin: 0 0 10px;
    font-weight: 800;
}

.booking-title {
    font-size: 16px;
    color: var(--ink);
}

.booking-range {
    display: inline-block;
    margin-left: 8px;
    font-weight: 700;
    color: var(--muted);
    font-size: 12px;
}

.booking-sub {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 12px;
}

.booking-field {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

.booking-footer {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.filter-select {
    height: 40px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}

.filter-list {
    border: 1px solid var(--muted);
}

.body-text {
    color: #374151;
    font-size: 13px;
    line-height: 1.55;
}


.provider-card {
    padding: 18px;
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 16px;
    margin:10px;
}

.provider-card--split {
    padding: 18px;
    margin: 10px;
}

.provider-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.provider-left {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.provider-leftBody {
    flex: 1;
}

.provider-right {
    padding-left: 18px;
    border-left: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    height: stretch;
}

.avatar,
.image-cropper {
    width: 74px;
    height: 74px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #f6c7a9, #c7d2fe);
    border: 2px solid #fff;
    box-shadow: 0 10px 18px rgba(16,24,40,.12);
}

.avatar {
    background-size: cover;
    background-position: center;
}

.image-cropper {
    overflow: hidden;
    flex: none;
    background: transparent;
}

.prov-headshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prov-name,
.provider-name {
    font-weight: 700;
    margin: 2px 0 2px;
    font-size: 18px;
}

.provider-name {
    margin: 0;
    font-weight: 800;
    line-height: 1.2;
}

.prov-role,
.provider-title {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.provider-title {
    color: var(--ink);
    font-weight: 600;
    margin-top: 2px;
    line-height: 1.35;
}

.provider-location {
    color: #374151;
    font-size: 13px;
    margin-top: 2px;
    line-height: 1.35;
}

.provider-submeta {
    margin-top: 4px;
    color: var(--muted);
    display: flex;
    font-size: 12px;
    font-weight: 600;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.stars {
    letter-spacing: 1px;
    color: #f59e0b;
    font-size: 14px;
}

.meta {
    margin-top: 12px;
    display: flex;
    gap: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}

.pin {
    display: inline-block;
    font-size: 18px;
    margin-right: 6px;
    vertical-align: middle;
    color: rgba(255,122,61,.65);
}


.map {
    min-height: 240px;
    position: relative;
    overflow: hidden;
}

.map::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(59,130,246,.08), transparent 40%), repeating-linear-gradient(0deg, #f3f4f6, #f3f4f6 18px, #eef2f7 18px, #eef2f7 36px);
    opacity: .9;
}

.map .badge {
    position: absolute;
    right: 14px;
    top: 12px;
    font-weight: 700;
    font-size: 22px;
    color: rgba(31,41,55,.75);
}

.map .zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #7aa6d8;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(16,24,40,.16);
}


.appt-panel {
    font-family: "Poppins", system-ui, sans-serif;
}

.appt-panelTitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}

.appt-range {
    font-weight: 600;
    color: var(--muted);
    margin-left: 6px;
}

.appt-days {
    display: grid;
    gap: 12px;
    margin-top: 6px;
}

.appt-day-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 8px;
}

.appt-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.appt-footer {
    margin-top: 12px;
}

.appt-panel--empty,
.empty-state {
    color: var(--muted);
    font-size: 13px;
}

.empty-state {
    margin-top: 10px;
    padding: 12px;
    border: 1px dashed rgba(31,42,55,.18);
    border-radius: 12px;
    background: rgba(255,255,255,.6);
}


#reviewCommentsWrapper {
    margin-bottom: 16px;
}

.provider-actions {
    display: flex;
    justify-content: flex-end;
    margin: 10px 0 12px;
}

.provider-top {
    padding: 16px;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom:16px;
    gap: 24px;
}

.provider-top-left {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    align-items: center;
    flex: 0 1 auto;
    max-width: 600px;
}

.provider-top-meta {
    min-width: 0;
}

.provider-top-right {
    display: flex;
    justify-content: center;
    flex: 0 0 auto;
}

.provider-logo {
    max-height: 56px;
    max-width: 260px;
    object-fit: contain;
}

.provider-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
    align-items: start;
}

.provider-main {
    display: grid;
    gap: 16px;
}

.provider-book {
    position: relative;
}


@media (min-width: 992px) {
    .booking-card {
        position: sticky;
        top: 16px;
    }
}

@media (max-width: 1600px) {
    .container-padded {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-ill {
        height: 260px;
    }

    .search-card {
        grid-template-columns: 1fr 1fr;
    }

    .search-card .field {
        border-right: 1px solid var(--line);
    }

    .search-card .field:nth-child(2) {
        border-right: none;
    }

    .search-btn {
        grid-column: 1 / -1;
        height: 50px;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .provider-layout {
        grid-template-columns: 1fr;
    }

    .booking-card {
        position: static;
    }
}

@media (max-width: 900px) {
    .provider-split {
        grid-template-columns: 1fr;
    }

    .provider-right {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--line);
        padding-top: 16px;
    }
}

@media (max-width: 768px) {
    .topbar-inner {
        padding: 12px 16px;
    }

    .nav-actions {
        display: none;
    }

    .small-logo {
        min-width: 180px;
        max-width: 200px;
        margin-left: 20px;
    }

    .hero {
        background: var(--bg);
        padding: 40px 0 48px;
        min-height: auto;
        max-height: none;
    }

    .search-card {
        grid-template-columns: 1fr 1fr;
        border-radius: 8px;
    }

    .search-card .field {
        padding: 12px 14px;
        border-right: 1px solid var(--line);
    }

    .search-card .field:nth-child(even) {
        border-right: none;
    }

    .search-btn {
        padding: 0 18px;
        min-width: 100px;
        font-size: 15px;
    }

    .container {
        width: min(1200px, calc(100% - 32px));
    }

    .results-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .results-head > div:last-child {
        width: 100%;
        flex-wrap: wrap;
        gap: 12px;
    }

    .results-head > div:last-child > div {
        flex: 1 1 calc(50% - 6px);
        display: flex;
        gap: 6px;
        align-items: center;
    }

    .results-head select {
        flex-shrink: 1;
    }

    .provider-top {
        flex-wrap: wrap;
        gap: 16px;
    }

    .provider-top-left {
        flex: 1 1 100%;
        max-width: none;
        gap: 16px;
    }

    .provider-top-right {
        flex: 1 1 100%;
        justify-content: center;
    }

    .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-collapse {
        border-top: 1px solid var(--line);
        padding: 12px 0;
    }
}

@media (max-width: 520px) {
    .topbar-inner {
        padding: 10px 12px;
    }

    .nav-actions {
        gap: 10px;
    }

    .nav-actions a {
        display: none;
    }

    .brand small {
        display: none;
    }

    .small-logo {
        min-width: 140px;
        max-width: 160px;
        margin-left: 10px;
    }

    .hero {
        padding: 30px 0 40px;
    }

    .hero h1 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .search-card {
        grid-template-columns: 1fr;
        border-radius: 6px;
    }

    .field {
        padding: 10px 12px;
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .field:last-of-type {
        border-bottom: none;
    }

    .label {
        font-size: 11px;
        margin-bottom: 3px;
    }

    .search-btn {
        padding: 0 16px;
        min-width: 90px;
        font-size: 14px;
        height: 44px;
    }

    .container {
        width: min(1200px, calc(100% - 16px));
    }

    .container-padded {
        padding-left: 20px;
        padding-right: 20px;
    }

    .form-control,
    .form-select {
        font-size: 16px;
        min-height: 44px;
        padding: 10px 12px;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"],
    select,
    textarea {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .avatar,
    .image-cropper {
        width: 56px;
        height: 56px;
    }

    .slot-btn {
        height: 32px;
        padding: 0 12px;
    }

    .provider-top-left {
        grid-template-columns: 64px 1fr;
        gap: 12px;
    }
}

