/* ======================================================================
   VEDIC ASTHA — ASTROLOGER PARTNER PORTAL
   Loads after vedic-astha-theme.css.
   Presentation layer only: no route, AJAX, Firebase, Agora or auth logic.
====================================================================== */

.vd-astro-portal-body {
    background: #fffdf9;
    color: var(--va-ink);
    font-family: var(--va-sans);
}

/* ======================================================================
   ASTROLOGER HEADER — SAME VISUAL LANGUAGE AS PUBLIC WEBSITE
====================================================================== */

.astro-portal-header {
    background: rgba(255, 252, 247, .97);
}

.astro-portal-header .astro-portal-topbar {
    min-height: 78px;
    padding: 7px 0;
    background: transparent !important;
}

.astro-portal-header .vd-brand {
    margin-right: 22px;
}

.astro-portal-header .vd-brand img {
    width: 188px;
    max-height: 60px;
    object-fit: contain;
    object-position: left center;
}

.astro-portal-header .astro-portal-topbar > .container {
    gap: 14px;
}

.astro-portal-header .astro-portal-topbar > .container > .d-flex:last-child {
    margin-left: auto;
    gap: 9px;
}

.astro-portal-header .astro-portal-topbar li {
    list-style: none;
}

.astro-portal-header .vd-astro-live-trigger,
.astro-portal-header .vd-astro-boost-btn {
    min-height: 40px;
    padding: 9px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none !important;
    transition: .22s ease;
}

.astro-portal-header .vd-astro-live-trigger {
    border: 1px solid rgba(243, 106, 8, .34);
    background: #fff;
    color: var(--va-burnt) !important;
}

.astro-portal-header .vd-astro-live-trigger:hover,
.astro-portal-header .vd-astro-live-trigger:focus {
    border-color: var(--va-saffron);
    background: var(--va-cream-2);
    color: var(--va-burnt) !important;
    transform: translateY(-1px);
}

.astro-portal-header .vd-astro-boost-btn {
    border: 1px solid var(--va-saffron);
    background: linear-gradient(135deg, var(--va-saffron), #df4e00);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(243, 106, 8, .18);
}

.astro-portal-header .vd-astro-boost-btn:hover,
.astro-portal-header .vd-astro-boost-btn:focus {
    background: linear-gradient(135deg, #ff7c12, var(--va-burnt));
    color: #fff !important;
    transform: translateY(-1px);
}

.astro-portal-header .vd-tool-btn {
    flex: 0 0 auto;
}

.astro-portal-header .vd-tool-btn::after {
    display: none !important;
}

.astro-portal-header .vd-user-avatar {
    width: 38px !important;
    height: 38px !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    box-shadow: 0 0 0 1px #e8d6c4;
}

.astro-portal-header .vd-notification-badge {
    top: -5px;
    right: -5px;
}

.astro-portal-header .astro-portal-subnav {
    min-height: 48px;
    padding: 0;
    border-top: 1px solid rgba(201, 75, 5, .07);
    background: linear-gradient(180deg, rgba(255,249,241,.84), rgba(255,255,255,.94)) !important;
}

.astro-portal-header .astro-portal-subnav .vd-nav-list {
    gap: 8px;
}

.astro-portal-header .astro-portal-subnav .vd-nav-link {
    padding: 12px 14px !important;
    font-size: 13px;
}

.astro-portal-header .astro-portal-subnav .vd-nav-link img {
    width: 19px;
    height: 19px;
    margin-right: 6px;
    object-fit: contain;
}

.astro-portal-header .astro-portal-subnav .dropdown-menu {
    margin-top: 7px;
    padding: 8px;
    border: 1px solid #eee1d4;
    border-radius: 14px;
    box-shadow: var(--va-shadow-soft);
}

.astro-portal-header .astro-portal-subnav .dropdown-item {
    padding: 10px 12px;
    border-radius: 9px;
    color: #43372f;
    font-size: 13px;
    font-weight: 650;
}

.astro-portal-header .astro-portal-subnav .dropdown-item:hover {
    background: var(--va-cream-2);
    color: var(--va-burnt);
}

.astro-portal-header .goLiveBtn,
.astro-portal-header #mobileScheduleLiveBtn,
.astro-portal-header #ScheduleListBtn {
    border-color: rgba(243,106,8,.35) !important;
    border-radius: 999px !important;
    background: #fff8ee !important;
    color: var(--va-burnt) !important;
    font-weight: 800 !important;
}

.astro-portal-header .gWalletbalance {
    background: #fff1df !important;
    color: var(--va-burnt) !important;
}

.astro-portal-header .bg-pink {
    background: #fff1df !important;
}

/* Profile Boost / schedule modal surface polish without changing behavior. */
.astro-portal-header #profileBoostModal .modal-content,
.astro-portal-header #scheduleModal .modal-content,
.astro-portal-header #storymodal .modal-content,
.astro-portal-header #storyModal .modal-content {
    overflow: hidden;
    border: 1px solid #eadfd4 !important;
    border-radius: 20px !important;
    box-shadow: var(--va-shadow) !important;
}

.astro-portal-header #profileBoostModal .modal-header {
    background: linear-gradient(135deg, var(--va-saffron), var(--va-burnt)) !important;
}

.astro-portal-header #profileBoostModal .btn-gradient {
    background: linear-gradient(135deg, var(--va-saffron), var(--va-burnt)) !important;
}

/* ======================================================================
   ASTROLOGER FOOTER
====================================================================== */

.astro-portal-footer .vd-astro-footer-kicker {
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffad65;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.astro-portal-footer .vd-astro-footer-outline {
    border-color: rgba(255,255,255,.22) !important;
    background: rgba(255,255,255,.07) !important;
    color: #fff !important;
}

.astro-portal-footer .vd-astro-footer-outline:hover {
    border-color: rgba(255,173,101,.55) !important;
    background: rgba(255,255,255,.12) !important;
    color: #fff !important;
}

/* ======================================================================
   ASTROLOGER LOGIN — SAME BRAND / COLOR / COMPONENT LANGUAGE
====================================================================== */

.vd-astro-login-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(243,106,8,.10), transparent 27%),
        radial-gradient(circle at 88% 92%, rgba(244,165,28,.08), transparent 25%),
        #fffaf4;
    color: var(--va-ink);
    font-family: var(--va-sans);
}

.vd-astro-login-page *,
.vd-astro-login-page *::before,
.vd-astro-login-page *::after {
    box-sizing: border-box;
}

.vd-astro-login-shell {
    width: min(1120px, calc(100% - 40px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 36px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vd-astro-login-brand {
    width: max-content;
    margin: 0 auto 22px;
    display: block;
}

.vd-astro-login-brand img {
    width: 205px;
    max-height: 70px;
    object-fit: contain;
}

.vd-astro-login-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    border: 1px solid #eadccd;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(80, 39, 10, .13);
}

.vd-astro-login-intro {
    position: relative;
    overflow: hidden;
    min-height: 590px;
    padding: 54px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 85% 14%, rgba(243,106,8,.18), transparent 27%),
        linear-gradient(145deg, #111827 0%, #1c1b1b 100%);
    color: #fff;
}

.vd-astro-login-intro::before,
.vd-astro-login-intro::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(255,173,101,.12);
    border-radius: 50%;
    pointer-events: none;
}

.vd-astro-login-intro::before {
    width: 340px;
    height: 340px;
    right: -170px;
    top: -130px;
    box-shadow:
        0 0 0 36px rgba(243,106,8,.025),
        0 0 0 72px rgba(243,106,8,.018);
}

.vd-astro-login-intro::after {
    width: 220px;
    height: 220px;
    left: -120px;
    bottom: -110px;
}

.vd-astro-login-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #ffad65;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.vd-astro-login-intro h1 {
    position: relative;
    z-index: 1;
    max-width: 470px;
    margin: 0;
    color: #fff;
    font-family: var(--va-serif);
    font-size: clamp(42px, 4vw, 60px);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -.025em;
}

.vd-astro-login-intro h1 span {
    color: #ffad65;
}

.vd-astro-login-intro > p {
    position: relative;
    z-index: 1;
    max-width: 470px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.64);
    font-size: 14px;
    line-height: 1.75;
}

.vd-astro-login-benefits {
    position: relative;
    z-index: 1;
    margin-top: 30px;
    display: grid;
    gap: 10px;
}

.vd-astro-login-benefits > div {
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 11px;
    background: rgba(255,255,255,.045);
}

.vd-astro-login-benefits > div > span {
    grid-row: 1 / span 2;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(243,106,8,.15);
    color: #ffad65;
}

.vd-astro-login-benefits strong {
    align-self: end;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
}

.vd-astro-login-benefits small {
    align-self: start;
    margin-top: 2px;
    color: rgba(255,255,255,.52);
    font-size: 11px;
}

.vd-astro-login-trust {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.58);
    font-size: 11px;
}

.vd-astro-login-form-panel {
    padding: 54px 56px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 100% 0%, rgba(243,106,8,.045), transparent 30%),
        #fff;
}

.vd-astro-login-form-panel > div {
    width: 100%;
}

.vd-astro-login-form-head {
    margin-bottom: 28px;
}

.vd-astro-login-form-head .vd-home-kicker {
    justify-content: flex-start;
}

.vd-astro-login-form-head .vd-home-kicker::after {
    display: none;
}

.vd-astro-login-form-head h2 {
    margin: 0;
    color: var(--va-deep);
    font-family: var(--va-serif);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.1;
}

.vd-astro-login-form-head p {
    margin: 8px 0 0;
    color: #756960;
    font-size: 13px;
    line-height: 1.6;
}

.vd-astro-login-field-label {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #43372f;
    font-size: 12px;
    font-weight: 850;
}

.vd-astro-login-field-label i {
    color: var(--va-saffron);
}

.vd-astro-login-phone {
    min-height: 54px;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #e6d7c8;
    border-radius: 14px;
    background: #fff;
    transition: .2s ease;
}

.vd-astro-login-phone:focus-within {
    border-color: rgba(243,106,8,.65);
    box-shadow: 0 0 0 3px rgba(243,106,8,.08);
}

.vd-astro-login-phone .select2-container {
    width: 100% !important;
}

.vd-astro-login-phone .select2-container .select2-selection--single {
    height: 52px !important;
    border: 0 !important;
    border-right: 1px solid #eee0d2 !important;
    border-radius: 0 !important;
    background: #fffaf4 !important;
}

.vd-astro-login-phone .select2-selection__rendered {
    height: 52px !important;
    padding: 11px 30px 10px 12px !important;
    margin: 0 !important;
    color: #3d332c !important;
    line-height: 30px !important;
    font-size: 13px;
    font-weight: 750;
}

.vd-astro-login-phone .select2-selection__arrow {
    top: 13px !important;
    right: 7px !important;
}

.vd-astro-login-phone #contactNo {
    min-width: 0;
    height: 52px;
    padding: 0 16px;
    border: 0 !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    color: #29211c;
    font-size: 14px;
}

.vd-astro-login-phone #contactNo::placeholder {
    color: #aa9e95;
}

.vd-astro-login-page input[type=number]::-webkit-inner-spin-button,
.vd-astro-login-page input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.vd-astro-login-page input[type=number] {
    -moz-appearance: textfield;
}

.vd-astro-login-error {
    min-height: 20px;
    margin-top: 6px;
    display: block;
    font-size: 11px;
}

.vd-astro-login-primary,
.vd-astro-login-google {
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 850;
    transition: .22s ease;
}

.vd-astro-login-primary {
    border: 1px solid var(--va-saffron);
    background: linear-gradient(135deg, var(--va-saffron), #df4e00);
    color: #fff !important;
    box-shadow: 0 11px 22px rgba(243,106,8,.17);
}

.vd-astro-login-primary:hover:not(:disabled),
.vd-astro-login-primary:focus:not(:disabled) {
    background: linear-gradient(135deg, #ff7c12, var(--va-burnt));
    color: #fff !important;
    transform: translateY(-1px);
}

.vd-astro-login-primary:disabled {
    opacity: .65;
    cursor: not-allowed;
}

.vd-astro-login-otp {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid #eadfd3;
    border-radius: 18px;
    background: #fffaf4;
}

.vd-astro-login-otp-head {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vd-astro-login-otp-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff0df;
    color: var(--va-saffron);
}

.vd-astro-login-otp-head h3 {
    margin: 0;
    color: #221a15;
    font-size: 15px;
    font-weight: 900;
}

.vd-astro-login-otp-head p {
    margin: 3px 0 0;
    color: #746960;
    font-size: 11px;
    line-height: 1.45;
}

.vd-astro-login-otp-head a {
    color: var(--va-burnt) !important;
    font-weight: 800;
}

.vd-astro-login-otp-input {
    height: 50px !important;
    border: 1px solid #e4d5c6 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    text-align: center;
    font-size: 18px !important;
    font-weight: 800;
    letter-spacing: .18em;
}

.vd-astro-login-otp-input:focus {
    border-color: rgba(243,106,8,.65) !important;
    box-shadow: 0 0 0 3px rgba(243,106,8,.08) !important;
}

.vd-astro-login-otp .vd-astro-login-primary {
    margin-top: 8px;
}

.vd-astro-login-divider {
    position: relative;
    margin: 24px 0 18px;
    text-align: center;
}

.vd-astro-login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: #eee2d6;
}

.vd-astro-login-divider span {
    position: relative;
    z-index: 1;
    padding: 0 12px;
    background: #fff;
    color: #9a8e85;
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.vd-astro-login-google {
    border: 1px solid #dfd3c6;
    background: #fff;
    color: #332921 !important;
}

.vd-astro-login-google i {
    color: #DB4437;
    font-size: 16px;
}

.vd-astro-login-google:hover {
    border-color: rgba(243,106,8,.38);
    background: #fffaf4;
    color: var(--va-burnt) !important;
    transform: translateY(-1px);
}

.vd-astro-login-terms {
    max-width: 440px;
    margin: 20px auto 0;
    color: #8a7d74;
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
}

.vd-astro-login-terms a {
    color: var(--va-burnt) !important;
    font-weight: 800;
}

.vd-astro-login-back {
    margin-top: 18px;
    text-align: center;
}

.vd-astro-login-back a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #75685f !important;
    font-size: 11px;
    font-weight: 750;
}

.vd-astro-login-back a:hover {
    color: var(--va-burnt) !important;
}

/* Select2 dropdown used by astrologer login. */
.vd-astro-login-page .select2-dropdown {
    overflow: hidden;
    border: 1px solid #e6d7c8 !important;
    border-radius: 12px !important;
    box-shadow: var(--va-shadow-soft);
}

.vd-astro-login-page .select2-results__option {
    padding: 9px 12px;
    font-size: 12px;
}

.vd-astro-login-page .select2-results__option--highlighted[aria-selected] {
    background: var(--va-saffron) !important;
}

/* ======================================================================
   RESPONSIVE
====================================================================== */

@media (max-width: 1199.98px) {
    .astro-portal-header .vd-brand img {
        width: 168px;
    }

    .astro-portal-header .astro-portal-topbar > .container > .d-flex:last-child {
        gap: 7px;
    }

    .astro-portal-header .vd-astro-live-trigger,
    .astro-portal-header .vd-astro-boost-btn {
        padding: 9px 11px;
        font-size: 11px;
    }
}

@media (max-width: 991.98px) {
    .astro-portal-header .astro-portal-topbar {
        min-height: 70px;
    }

    .astro-portal-header .vd-brand img {
        width: 150px;
    }

    .astro-portal-header .vd-astro-live-trigger,
    .astro-portal-header .vd-astro-boost-btn {
        display: none;
    }

    .astro-portal-header .astro-portal-subnav .navbar-collapse {
        padding: 12px 16px 16px;
        border: 1px solid #f0e2d5;
        border-radius: 0 0 16px 16px;
        background: rgba(255,252,247,.99);
        box-shadow: 0 16px 30px rgba(70,36,14,.08);
    }

    .astro-portal-header .astro-portal-subnav .vd-nav-link {
        border-bottom: 1px solid #f1e6dc;
    }

    .vd-astro-login-card {
        grid-template-columns: 1fr;
    }

    .vd-astro-login-intro {
        min-height: auto;
        padding: 38px 36px;
    }

    .vd-astro-login-intro h1 {
        max-width: 680px;
        font-size: 44px;
    }

    .vd-astro-login-intro > p {
        max-width: 680px;
    }

    .vd-astro-login-benefits {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .vd-astro-login-benefits > div {
        grid-template-columns: 34px 1fr;
        padding: 10px;
    }

    .vd-astro-login-benefits > div > span {
        width: 34px;
        height: 34px;
    }

    .vd-astro-login-form-panel {
        padding: 42px 44px;
    }
}

@media (max-width: 767.98px) {
    .astro-portal-header .astro-portal-topbar > .container {
        gap: 8px;
    }

    .astro-portal-header .vd-brand img {
        width: 132px;
    }

    .astro-portal-header .vd-tool-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        padding: 0;
    }

    .astro-portal-header .vd-user-avatar {
        width: 34px !important;
        height: 34px !important;
    }

    .astro-portal-footer .vd-footer-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .astro-portal-footer .vd-footer-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .astro-portal-footer .vd-footer-cta-actions a {
        width: 100%;
    }

    .vd-astro-login-shell {
        width: min(100% - 24px, 680px);
        padding: 22px 0;
    }

    .vd-astro-login-brand {
        margin-bottom: 16px;
    }

    .vd-astro-login-brand img {
        width: 170px;
    }

    .vd-astro-login-card {
        border-radius: 20px;
    }

    .vd-astro-login-intro {
        padding: 28px 22px;
    }

    .vd-astro-login-intro h1 {
        font-size: 36px;
    }

    .vd-astro-login-intro > p {
        margin-top: 14px;
        font-size: 13px;
    }

    .vd-astro-login-benefits {
        margin-top: 22px;
        grid-template-columns: 1fr;
    }

    .vd-astro-login-trust {
        margin-top: 18px;
    }

    .vd-astro-login-form-panel {
        padding: 32px 22px;
    }

    .vd-astro-login-form-head h2 {
        font-size: 32px;
    }

    .vd-astro-login-phone {
        grid-template-columns: 118px minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .astro-portal-header .vd-brand img {
        width: 116px;
    }

    .astro-portal-header .astro-portal-topbar > .container {
        padding-right: 10px;
        padding-left: 10px;
    }

    .vd-astro-login-shell {
        width: calc(100% - 18px);
    }

    .vd-astro-login-intro {
        padding: 24px 18px;
    }

    .vd-astro-login-intro h1 {
        font-size: 32px;
    }

    .vd-astro-login-form-panel {
        padding: 28px 17px;
    }

    .vd-astro-login-phone {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .vd-astro-login-phone .select2-selection__rendered {
        padding-left: 8px !important;
        font-size: 11px;
    }

    .vd-astro-login-phone #contactNo {
        padding: 0 11px;
        font-size: 13px;
    }
}


/* ======================================================================
   HEADER STABILITY FIXES
   1) Prevent the secondary nav from creating horizontal page overflow.
   2) Keep the long astrologer profile menu inside the viewport.
====================================================================== */

.astro-portal-header .astro-portal-subnav,
.astro-portal-header .astro-portal-subnav > .container,
.astro-portal-header .astro-portal-subnav .navbar-collapse,
.astro-portal-header .astro-portal-subnav .vd-nav-list {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.astro-portal-header .astro-portal-subnav .navbar-collapse {
    flex-basis: 100%;
}

.astro-portal-header .astro-portal-subnav .vd-nav-list {
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.astro-portal-header .astro-portal-subnav .nav-item {
    min-width: 0;
    flex: 0 0 auto;
}

.astro-portal-header .astro-portal-subnav .vd-nav-link {
    max-width: 100%;
    white-space: nowrap;
}

/* Profile menu: never disappear below the screen. */
.astro-portal-header .vd-astro-user-dropdown {
    max-height: min(620px, calc(100vh - 112px));
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

/* Cleaner scrollbar without changing browser behavior. */
.astro-portal-header .vd-astro-user-dropdown::-webkit-scrollbar {
    width: 7px;
}

.astro-portal-header .vd-astro-user-dropdown::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(201, 75, 5, .28);
}

.astro-portal-header .vd-astro-user-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

@media (max-width: 991.98px) {
    .astro-portal-header .astro-portal-subnav .vd-nav-list {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
    }

    .astro-portal-header .astro-portal-subnav .nav-item {
        width: 100%;
    }

    .astro-portal-header .astro-portal-subnav .vd-nav-link {
        width: 100%;
        white-space: normal;
    }

    .astro-portal-header .vd-astro-user-dropdown {
        max-height: calc(100vh - 92px);
    }
}

/* ======================================================================
   ASTROLOGER DASHBOARD
   Only dashboard-specific layout/components live here.
   Colors, typography, buttons, headings, empty states and shadows reuse
   vedic-astha-theme.css via --va-* and existing .vd-home-* classes.
====================================================================== */

.vd-astro-dashboard-section {
    padding-top: 46px;
}

.vd-astro-request-grid {
    margin-right: -10px;
    margin-left: -10px;
}

.vd-astro-request-grid > [class*="col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

.vd-astro-request-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--va-border);
    border-radius: 22px;
    background: var(--va-white);
    box-shadow: var(--va-shadow-soft);
}

.vd-astro-request-card-head {
    padding: 18px 20px;
    border-bottom: 1px solid var(--va-border);
    background: linear-gradient(135deg, var(--va-cream-2), #fffaf5);
    text-align: center;
}

.vd-astro-request-title {
    color: var(--va-deep);
    font-size: 18px;
    font-weight: 850;
}

.vd-astro-request-list {
    height: 410px;
    min-height: 410px;
    max-height: 410px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 75, 5, .28) transparent;
}

.vd-astro-request-list::-webkit-scrollbar,
.vd-astro-user-dropdown::-webkit-scrollbar {
    width: 7px;
}

.vd-astro-request-list::-webkit-scrollbar-thumb,
.vd-astro-user-dropdown::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(201, 75, 5, .28);
}

.vd-astro-request-list .list-group-item {
    padding: 15px;
    border-right: 0;
    border-left: 0;
    border-color: var(--va-border);
    background: var(--va-white);
}

.vd-astro-request-list .list-group-item:first-child {
    border-top: 0;
}

.vd-astro-request-list .list-group-item > .d-flex {
    width: 100%;
    gap: 12px;
    align-items: center;
}

.vd-astro-request-list .w-25 {
    width: auto !important;
    min-width: 58px;
    padding-right: 0 !important;
}

.vd-astro-request-list img.rounded-circle {
    width: 58px !important;
    height: 58px !important;
    object-fit: cover;
    border: 2px solid var(--va-white);
    box-shadow: 0 0 0 1px var(--va-border);
}

.vd-astro-request-list .d-flex.flex-column {
    min-width: 0;
    flex: 1 1 auto;
    gap: 4px;
    color: var(--va-muted);
    font-size: 13px;
}

.vd-astro-request-list .d-flex.flex-column > span:first-child {
    color: var(--va-deep);
    font-size: 14px;
    font-weight: 800;
}

.vd-astro-request-list i {
    color: var(--va-burnt);
}

.vd-astro-request-actions {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.vd-astro-request-action {
    min-width: 78px;
    padding: 7px 11px;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
}

.vd-astro-request-action.is-accept {
    border-color: rgba(25, 166, 90, .28);
    background: rgba(25, 166, 90, .08);
    color: #137345 !important;
}

.vd-astro-request-action.is-reject {
    border-color: rgba(220, 53, 69, .22);
    background: rgba(220, 53, 69, .06);
    color: #b83b48 !important;
}

.vd-astro-request-empty {
    width: calc(100% - 28px);
    margin: 20px auto;
    padding: 28px 16px;
    font-size: 14px;
}

#reportRequests > div {
    padding: 12px 15px 3px;
}

#reportRequests > div .font-weight-bold {
    margin-left: 0 !important;
    color: var(--va-burnt) !important;
    font-size: 12px;
}

/* Availability controls are unique to the astrologer dashboard. */
.vd-astro-status-panel {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1000;
    width: 205px;
    padding: 14px;
    border: 1px solid var(--va-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--va-shadow);
    backdrop-filter: blur(10px);
}

.vd-astro-status-item + .vd-astro-status-item {
    margin-top: 10px;
}

.vd-astro-status-label {
    display: block;
    margin-bottom: 6px;
    color: var(--va-muted);
    font-size: 12px;
    font-weight: 800;
}

.vd-astro-status-select {
    height: 40px;
    border-color: var(--va-border);
    border-radius: 10px;
    background: var(--va-cream);
    color: var(--va-deep);
    font-size: 13px;
    font-weight: 700;
}

.vd-astro-sound-btn {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border: 0;
    font-size: 12px;
}
.vd-footer-developer-link {
    color: inherit;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.vd-footer-developer-link:hover {
    color: var(--va-saffron);
    text-decoration: none;
}
@media (max-width: 991.98px) {
    .vd-astro-request-grid > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 18px;
    }

    .vd-astro-request-list {
        height: auto;
        min-height: 220px;
        max-height: 360px;
    }

    .vd-astro-status-panel {
        position: static;
        width: min(520px, calc(100% - 32px));
        margin: 20px auto 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .vd-astro-status-item + .vd-astro-status-item {
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    .vd-astro-dashboard-section {
        padding-top: 30px;
    }

    .vd-astro-status-panel {
        grid-template-columns: 1fr;
    }

    .vd-astro-request-list .list-group-item > .d-flex {
        flex-wrap: wrap;
    }

    .vd-astro-request-actions {
        width: 100%;
        padding-left: 70px;
        flex-direction: row;
    }

    .vd-astro-request-action {
        flex: 1 1 0;
    }
}