@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&display=swap');

:root {
    --bg-cosmic: linear-gradient(135deg, #0a0820 0%, #1a0c48 35%, #0d1a4a 65%, #0a0a24 100%);
    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-bg-hover: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.14);
    --glass-border-hover: rgba(255, 255, 255, 0.25);
    --gold: #f0c040;
    --gold-light: #f6d570;
    --gold-glow: rgba(240, 192, 64, 0.45);
    --teal: #00d4aa;
    --teal-glow: rgba(0, 212, 170, 0.35);
    --neon-purple: #b06eff;
    --neon-purple-glow: rgba(176, 110, 255, 0.4);
    --rose: #ff6b9d;
    --sky: #4dc9ff;
    --text-primary: #eef0ff;
    --text-secondary: #cbd2ee;
    --sidebar-w: 230px;
    --topnav-h: 60px;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --card-radius: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    background: var(--bg-cosmic);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

/* ===== TEXT CONTRAST OVERRIDES ===== */
.text-secondary {
    color: var(--text-secondary) !important;
}
.text-muted {
    color: #9da4c0 !important;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 8, 32, 0.9);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold) 0%, var(--neon-purple) 100%);
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(10, 8, 32, 0.9);
}

/* ===== TOP NAVBAR ===== */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(10, 8, 32, 0.88) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(176, 110, 255, 0.2);
    min-height: var(--topnav-h);
    height: auto;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: #ffffff !important;
    gap: 8px;
}

.brand-text {
    background: linear-gradient(90deg, var(--gold) 0%, var(--neon-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tag {
    background: var(--gold);
    color: #0c061a;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 5px;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.dropdown-dark {
    background: rgba(15, 10, 45, 0.97) !important;
    border: 1px solid rgba(176, 110, 255, 0.25) !important;
    backdrop-filter: blur(20px);
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.dropdown-dark .dropdown-item {
    color: var(--text-secondary);
    padding: 9px 18px;
    border-radius: 6px;
    margin: 2px 6px;
    width: auto;
}

.dropdown-dark .dropdown-item:hover {
    background: rgba(240, 192, 64, 0.12);
    color: var(--gold);
}

.dropdown-dark .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.08);
    margin: 4px 12px;
}

.lang-btn {
    border: 1px solid rgba(176, 110, 255, 0.35);
    background: rgba(176, 110, 255, 0.08);
    color: var(--text-primary);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
    text-decoration: none !important;
}

.lang-btn:hover {
    background: rgba(240, 192, 64, 0.15);
    border-color: var(--gold);
    color: var(--gold);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--gold) 0%, #e0a820 100%);
    color: #0c061a;
    border-color: var(--gold);
    font-weight: 600;
}

/* ===== LAYOUT ===== */
.app-layout {
    display: flex;
    min-height: calc(100vh - var(--topnav-h));
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: var(--sidebar-w);
    min-width: var(--sidebar-w);
    background: rgba(10, 8, 32, 0.7);
    border-right: 1px solid rgba(176, 110, 255, 0.15);
    backdrop-filter: blur(16px);
    position: sticky;
    top: var(--topnav-h);
    height: calc(100vh - var(--topnav-h));
    overflow-y: auto;
    scrollbar-width: thin;
}

.sidebar-profile {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(176, 110, 255, 0.12);
    border: 1px solid rgba(176, 110, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-purple);
    flex-shrink: 0;
}

.sidebar-section-label {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--teal);
    padding: 14px 14px 4px;
    font-weight: 600;
    opacity: 0.8;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    border-radius: 8px;
    margin: 1px 6px;
    transition: var(--transition-smooth);
}

.sidebar-link:hover {
    background: rgba(240, 192, 64, 0.08);
    color: var(--gold-light);
}

.sidebar-link.active {
    background: linear-gradient(135deg, rgba(240, 192, 64, 0.15) 0%, rgba(176, 110, 255, 0.1) 100%);
    color: var(--gold);
    border-left: 2px solid var(--gold);
    box-shadow: inset 0 0 12px rgba(240, 192, 64, 0.05);
}

.sidebar-link.disabled {
    pointer-events: none;
    opacity: 0.4;
    font-size: 0.82rem;
}

.sidebar-link i {
    font-size: 0.95rem;
    min-width: 16px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    flex: 1;
    padding: 28px;
    min-width: 0;
    padding-bottom: 60px;
}

/* ===== GLASSMORPHISM PANEL ===== */
.glass-panel {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    padding: 22px;
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Colored card variants */
.card-gold {
    border-color: rgba(240, 192, 64, 0.35) !important;
    background: linear-gradient(145deg, rgba(240, 192, 64, 0.08), rgba(255, 255, 255, 0.04)) !important;
}

.card-teal {
    border-color: rgba(0, 212, 170, 0.35) !important;
    background: linear-gradient(145deg, rgba(0, 212, 170, 0.07), rgba(255, 255, 255, 0.04)) !important;
}

.card-purple {
    border-color: rgba(176, 110, 255, 0.35) !important;
    background: linear-gradient(145deg, rgba(176, 110, 255, 0.08), rgba(255, 255, 255, 0.04)) !important;
}

.card-rose {
    border-color: rgba(255, 107, 157, 0.35) !important;
    background: linear-gradient(145deg, rgba(255, 107, 157, 0.07), rgba(255, 255, 255, 0.04)) !important;
}

.card-sky {
    border-color: rgba(77, 201, 255, 0.35) !important;
    background: linear-gradient(145deg, rgba(77, 201, 255, 0.07), rgba(255, 255, 255, 0.04)) !important;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #fff;
}

.gold-text {
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold-glow);
}

.teal-text {
    color: var(--teal);
    text-shadow: 0 0 10px var(--teal-glow);
}

.purple-text {
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple-glow);
}

.rose-text {
    color: var(--rose);
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.4);
}

.sky-text {
    color: var(--sky);
}

.page-header h2 {
    font-size: 1.55rem;
}

.page-header {
    padding-bottom: 4px;
}

/* ===== SECTION LABELS ===== */
.section-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(240, 192, 64, 0.1);
    border: 1px solid rgba(240, 192, 64, 0.25);
    color: var(--gold);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ===== SCORE CIRCLE ===== */
.score-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
    position: relative;
}

.score-ring::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(var(--gold) var(--pct, 0%), rgba(255, 255, 255, 0.08) 0%);
    padding: 4px;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #fff calc(100% - 4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #fff calc(100% - 4px));
}

/* ===== FORMS ===== */
.form-control,
.form-select {
    background: rgba(10, 8, 32, 0.5) !important;
    border: 1px solid rgba(176, 110, 255, 0.25) !important;
    color: var(--text-primary) !important;
    border-radius: 10px !important;
    padding: 9px 14px !important;
    transition: var(--transition-smooth) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(240, 192, 64, 0.15) !important;
}

.form-select option {
    background: #110825;
    color: #fff;
}

/* ===== BUTTONS ===== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    border: none;
    color: #0c061a;
    font-weight: 600;
    border-radius: 10px;
    padding: 9px 22px;
    box-shadow: 0 4px 20px var(--gold-glow);
    transition: var(--transition-smooth);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(240, 192, 64, 0.55);
    color: #0c061a;
}

.btn-outline-warning {
    border-color: var(--gold) !important;
    color: var(--gold) !important;
    border-radius: 8px !important;
}

.btn-outline-warning:hover {
    background: rgba(240, 192, 64, 0.12) !important;
    color: var(--gold) !important;
}

/* ===== TABS ===== */
.nav-tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
    gap: 4px;
}

.nav-tabs .nav-link {
    background: transparent !important;
    border: none !important;
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 8px 8px 0 0 !important;
    position: relative;
}

.nav-tabs .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.nav-tabs .nav-link.active {
    color: var(--gold) !important;
    font-weight: 600;
    background: rgba(240, 192, 64, 0.08) !important;
}

.nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--neon-purple) 100%);
    border-radius: 2px;
}

/* ===== TABLES ===== */
.table-custom {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    font-size: 0.85rem;
}

.table-custom thead th {
    color: var(--gold);
    font-weight: 600;
    padding: 10px 12px;
    white-space: nowrap;
    border-bottom: 2px solid rgba(240, 192, 64, 0.2);
    background: rgba(240, 192, 64, 0.05);
}

.table-custom tbody td {
    padding: 9px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.table-custom tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.planet-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    font-size: 0.85rem;
}

.planet-table thead tr {
    background: rgba(240, 192, 64, 0.07);
    border-bottom: 1px solid rgba(240, 192, 64, 0.15);
}

.planet-table thead th {
    color: var(--gold);
    font-weight: 600;
    padding: 8px 10px;
    white-space: nowrap;
}

.planet-table tbody td {
    padding: 7px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.table-dark {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-primary);
    font-size: 0.85rem;
}

.table-dark thead th {
    color: var(--gold);
    background: rgba(240, 192, 64, 0.06);
    font-weight: 600;
}

.table-dark td,
.table-dark th {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

/* ===== KUNDLI CHART ===== */
.kundli-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    padding: 10px;
    border: 1px solid var(--glass-border);
}

#lagnaCanvas,
#navamsaCanvas {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===== DASHA ===== */
.dasha-list {
    max-height: 340px;
    overflow-y: auto;
}

.dasha-row:hover {
    background: rgba(240, 192, 64, 0.04);
}

.dasha-current {
    background: rgba(240, 192, 64, 0.07) !important;
}

.antar-current {
    background: rgba(176, 110, 255, 0.09) !important;
}

/* ===== STAT CARDS ===== */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(240, 192, 64, 0.3);
    transform: translateY(-2px);
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 4px;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    border-radius: var(--card-radius) !important;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.service-card:hover {
    background: rgba(240, 192, 64, 0.07) !important;
    border-color: rgba(240, 192, 64, 0.35) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(240, 192, 64, 0.08);
}

.service-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(240, 192, 64, 0.1);
    border: 1px solid rgba(240, 192, 64, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== CALC CHIPS ===== */
.calc-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.calc-chip:hover {
    background: rgba(240, 192, 64, 0.09);
    border-color: rgba(240, 192, 64, 0.3);
}

a.calc-chip {
    text-decoration: none;
}

a.calc-chip span {
    color: var(--text-secondary);
}

a.calc-chip:hover span {
    color: var(--gold-light);
}

/* ===== PANCHANG CARDS ===== */
.panchang-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

/* ===== DOSHA CARDS ===== */
.dosha-present {
    border-color: rgba(220, 53, 69, 0.4) !important;
    background: rgba(220, 53, 69, 0.05) !important;
}

.dosha-absent {
    border-color: rgba(25, 135, 84, 0.3) !important;
    background: rgba(25, 135, 84, 0.04) !important;
}

.dosha-icon-wrap {
    flex-shrink: 0;
    width: 50px;
    text-align: center;
    padding-top: 4px;
}

/* ===== PROFILE CARD ===== */
.profile-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(240, 192, 64, 0.12);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

/* ===== NUMEROLOGY ===== */
.num-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 192, 64, 0.15) 0%, rgba(240, 192, 64, 0.05) 100%);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--gold);
    box-shadow: 0 0 16px var(--gold-glow);
}

/* ===== MATCHING ===== */
.matching-badge {
    font-size: 2rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    display: inline-block;
    background: rgba(240, 192, 64, 0.1);
    border: 2px solid var(--gold);
    color: var(--gold);
    text-shadow: 0 0 12px var(--gold-glow);
    margin: 12px 0;
}

.matching-status-box {
    border-left: 4px solid var(--neon-purple);
    padding-left: 14px;
    margin: 16px 0;
}

/* ===== PROGRESS BARS ===== */
.progress {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: visible;
}

.progress-bar {
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(240, 192, 64, 0.3);
}

/* ===== BADGES ===== */
.badge {
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge.bg-success {
    background: rgba(25, 200, 100, 0.2) !important;
    color: #44dd88;
    border: 1px solid rgba(25, 200, 100, 0.3);
}

.badge.bg-danger {
    background: rgba(220, 53, 69, 0.2) !important;
    color: #ff7088;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.badge.bg-warning {
    background: rgba(255, 193, 7, 0.2) !important;
    color: var(--gold);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.badge.bg-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge.bg-info {
    background: rgba(77, 201, 255, 0.2) !important;
    color: var(--sky);
    border: 1px solid rgba(77, 201, 255, 0.3);
}

.badge.bg-primary {
    background: rgba(176, 110, 255, 0.2) !important;
    color: var(--neon-purple);
    border: 1px solid rgba(176, 110, 255, 0.3);
}

.badge.text-dark {
    color: #ffffff !important;
}

/* ===== KP SPECIFIC ===== */
.kp-cell {
    font-size: 0.78rem;
    padding: 6px 8px !important;
    text-align: center;
}

.kp-header {
    background: rgba(0, 212, 170, 0.1);
    color: var(--teal) !important;
}

/* ===== INFO PILLS ===== */
.info-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8rem;
}

/* ===== DETAIL ROWS ===== */
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.detail-value {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.88rem;
}

/* ===== PLANET CHIPS ===== */
.planet-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
}

.planet-chip.good {
    background: rgba(25, 200, 100, 0.12);
    border-color: rgba(25, 200, 100, 0.3);
    color: #44dd88;
}

.planet-chip.bad {
    background: rgba(220, 53, 69, 0.12);
    border-color: rgba(220, 53, 69, 0.3);
    color: #ff7088;
}

.planet-chip.great {
    background: rgba(240, 192, 64, 0.12);
    border-color: rgba(240, 192, 64, 0.3);
    color: var(--gold);
}

/* ===== FOOTER ===== */
.footer-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(10, 8, 32, 0.5);
}

/* ===== ACCORDION ===== */
.accordion-button {
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-item {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.08);
}

/* ===== ALERTS / TOAST ===== */
.sade-sati-alert {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(255, 107, 157, 0.1) 100%);
    border: 1px solid rgba(220, 53, 69, 0.4);
    border-radius: 12px;
    padding: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199px) {
    .sidebar {
        display: none !important;
    }

    .main-content {
        padding: 16px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 12px;
    }

    .glass-panel {
        padding: 16px;
        border-radius: 12px;
    }

    .planet-table {
        font-size: 0.78rem;
    }
}

/* ── City Search Dropdown ── */
.city-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(15, 8, 40, 0.98);
    border: 1px solid var(--glass-border);
    border-radius: 0 0 8px 8px;
    max-height: 220px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.city-suggestion-item {
    padding: 9px 14px;
    color: #cdd4ed;
    font-size: 0.82rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s;
}

.city-suggestion-item:hover {
    background: rgba(223, 183, 92, 0.12);
    color: #fff;
}

/* ── PDF / Print Styles ── */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }

    .no-print,
    .sidebar,
    .top-nav,
    .footer-info,
    .navbar,
    aside,
    nav,
    .btn,
    button,
    .accordion-button::after {
        display: none !important;
    }

    .glass-panel {
        background: #fff !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
        color: #000 !important;
        page-break-inside: avoid;
    }

    .main-content {
        padding: 0 !important;
    }

    .app-layout {
        display: block !important;
    }

    .text-white,
    .text-secondary,
    .gold-text,
    .purple-text {
        color: #000 !important;
    }

    table {
        color: #000 !important;
        border-color: #999 !important;
    }

    th,
    td {
        color: #000 !important;
        border-color: #ccc !important;
    }

    canvas {
        max-width: 280px !important;
        max-height: 280px !important;
    }

    .row {
        display: flex !important;
        flex-wrap: wrap !important;
    }

    h2,
    h5,
    h6 {
        color: #1a0a3a !important;
    }

    .panchang-card {
        border: 1px solid #ccc !important;
        background: #f8f8f8 !important;
    }

    a {
        color: #000 !important;
        text-decoration: none !important;
    }

    .badge {
        border: 1px solid #999 !important;
    }
}

/* ===== MOBILE MENU ADJUSTMENTS ===== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    .navbar-collapse .navbar-nav {
        gap: 10px;
    }

    .navbar-collapse .nav-link {
        padding: 8px 14px !important;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.03);
    }

    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active {
        background: rgba(240, 192, 64, 0.12) !important;
        color: var(--gold) !important;
    }

    .navbar-collapse .d-flex {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        flex-wrap: wrap;
        gap: 10px !important;
    }
}