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

:root {
    --bg-dark: #070b13;
    --bg-card: rgba(22, 30, 49, 0.6);
    --bg-card-hover: rgba(30, 41, 69, 0.85);
    --bg-tabs: rgba(15, 23, 42, 0.8);
    --bg-input: rgba(15, 23, 42, 0.6);
    --bg-card-inner: rgba(15, 23, 42, 0.4);
    --bg-panel: rgba(10, 15, 28, 0.95);
    --bg-code: #040711;
    --bg-modal: #0f172a;
    --text-code: #38bdf8;
    --shadow-modal: rgba(0, 0, 0, 0.6);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 245, 212, 0.25);
    
    --primary: #00f5d4;
    --primary-glow: rgba(0, 245, 212, 0.2);
    --secondary: #00b4d8;
    --secondary-glow: rgba(0, 180, 216, 0.25);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --purple: #8b5cf6;
    
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 18px;
}

:root.light-theme {
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-tabs: rgba(226, 232, 240, 0.85);
    --bg-input: rgba(255, 255, 255, 0.95);
    --bg-card-inner: rgba(241, 245, 249, 0.85);
    --bg-panel: rgba(255, 255, 255, 0.98);
    --bg-code: #f1f5f9;
    --bg-modal: #ffffff;
    --text-code: #0284c7;
    --shadow-modal: rgba(15, 23, 42, 0.08);
    
    --border-color: rgba(15, 23, 42, 0.08);
    --border-glow: rgba(13, 148, 136, 0.2);
    
    --primary: #0d9488;
    --primary-glow: rgba(13, 148, 136, 0.15);
    --secondary: #0284c7;
    --secondary-glow: rgba(2, 132, 199, 0.12);
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --purple: #7c3aed;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Glassmorphic Background Blur Orbs */
.blur-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.14;
    animation: float 25s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    left: 15%;
    width: 480px;
    height: 480px;
    background: var(--primary);
}

.orb-2 {
    bottom: 5%;
    right: 10%;
    width: 520px;
    height: 520px;
    background: var(--secondary);
    animation-delay: -6s;
}

.orb-3 {
    top: 35%;
    left: -10%;
    width: 380px;
    height: 380px;
    background: var(--purple);
    animation-delay: -12s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.12); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-glow);
}

/* Layout Shell */
.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    gap: 1.25rem;
}

/* Header & Role Navigation */
header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
}

.brand-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    cursor: pointer;
}

.logo svg {
    stroke: url(#logoGrad);
    filter: drop-shadow(0 0 6px var(--primary-glow));
    animation: pulse-glow 2.5s infinite ease-in-out;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.06); opacity: 1; filter: drop-shadow(0 0 10px var(--primary)); }
}

.tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    margin-top: -0.2rem;
}

/* Tab Navigation System */
.nav-tabs {
    display: flex;
    background: var(--bg-tabs);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4px;
    overflow-x: auto;
    gap: 4px;
    scrollbar-width: none;
    align-items: center;
}
.nav-tabs::-webkit-scrollbar {
    display: none;
}

.nav-tab {
    font-family: var(--font-display);
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-tab svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    transition: var(--transition-smooth);
}

.nav-tab:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.03);
}

.nav-tab.active {
    color: var(--bg-dark);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 12px rgba(0, 245, 212, 0.2);
}

.nav-tab.active svg {
    stroke: var(--bg-dark);
}

.nav-tab.tech-spec-btn {
    border: 1px dashed rgba(0, 245, 212, 0.25);
    color: var(--primary);
}
.nav-tab.tech-spec-btn.active {
    color: var(--bg-dark);
    border: none;
}

/* User Account Info Bar */
.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: var(--bg-card-inner);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 0.8rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.user-profile-badge:hover {
    border-color: var(--primary);
    background: rgba(0, 245, 212, 0.05);
}
.user-profile-badge .avatar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
}

/* Glass Card Global Styles */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: rgba(0, 245, 212, 0.15);
}

/* Dynamic Grid Layouts */
.grid-cols-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
}

.col-span-12 { grid-column: span 12; }
.col-span-9 { grid-column: span 9; }
.col-span-8 { grid-column: span 8; }
.col-span-7 { grid-column: span 7; }
.col-span-6 { grid-column: span 6; }
.col-span-5 { grid-column: span 5; }
.col-span-4 { grid-column: span 4; }
.col-span-3 { grid-column: span 3; }

@media (max-width: 1024px) {
    .col-span-8, .col-span-7, .col-span-6, .col-span-5, .col-span-4, .col-span-3, .col-span-9 {
        grid-column: span 12;
    }
}

/* UI Elements */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success { background: rgba(16, 185, 129, 0.12); color: var(--success); border: 1px solid rgba(16, 185, 129, 0.2); }
.badge-warning { background: rgba(245, 158, 11, 0.12); color: var(--warning); border: 1px solid rgba(245, 158, 11, 0.2); }
.badge-danger { background: rgba(239, 68, 68, 0.12); color: var(--danger); border: 1px solid rgba(239, 68, 68, 0.2); }
.badge-primary { background: rgba(0, 245, 212, 0.12); color: var(--primary); border: 1px solid rgba(0, 245, 212, 0.2); }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

input, select, textarea {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.65rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition-smooth);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

/* Beautiful Interactive Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
    box-shadow: 0 2px 10px rgba(0, 245, 212, 0.18);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 245, 212, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
    background: var(--danger);
    color: white;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 6px;
}

/* ==========================================
   🏠 HOME PAGE SPECIFIC STYLES
   ========================================== */
.hero-section {
    text-align: center;
    padding: 2.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(0, 245, 212, 0.03) 0%, rgba(0, 180, 216, 0.01) 100%);
    border: 1px solid var(--border-color);
}

.hero-heading {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-main) 30%, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 700px;
}

.hero-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 0.5rem;
}

.home-search-bar {
    width: 100%;
    max-width: 820px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 6px;
    border-radius: 12px;
    gap: 6px;
    align-items: center;
}

@media (max-width: 768px) {
    .home-search-bar {
        grid-template-columns: 1fr;
        border-radius: 16px;
        padding: 10px;
    }
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 0.5rem;
}

.search-input-wrap svg {
    color: var(--primary);
    flex-shrink: 0;
}

.home-search-bar input, .home-search-bar select {
    border: none;
    background: transparent;
    width: 100%;
    padding: 0.5rem;
}
.home-search-bar select {
    border-left: 1px solid var(--border-color);
}
@media (max-width: 768px) {
    .home-search-bar select {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
}

.quick-filter-pills {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.2rem 0;
    scrollbar-width: none;
    max-width: 100%;
}
.quick-filter-pills::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    padding: 0.4rem 0.9rem;
    background: var(--bg-card-inner);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.filter-pill:hover, .filter-pill.active {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 245, 212, 0.05);
}

/* popular specialties grid */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

@media (max-width: 900px) {
    .specialties-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 480px) {
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.specialty-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.specialty-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

.specialty-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--bg-card-inner);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    border: 1px solid var(--border-color);
}

.specialty-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-main);
}

.specialty-card p {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Horizontal Top Doctors Scroller */
.scroller-container {
    position: relative;
    width: 100%;
}
.scroller-wrapper {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: 0.5rem 0.2rem;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.scroller-wrapper::-webkit-scrollbar {
    display: none;
}
.scroller-wrapper .doctor-card {
    flex: 0 0 310px;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.stat-card {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    background: var(--bg-card-inner);
    border: 1px solid var(--border-color);
}
.stat-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 800;
}
.stat-card span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}
.step-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid var(--border-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.step-content h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.step-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.05), rgba(0, 180, 216, 0.03));
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.cta-text h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.cta-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   🔍 SEARCH PAGE STYLES
   ========================================== */
.search-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.25rem;
    align-items: flex-start;
}
@media (max-width: 1024px) {
    .search-layout {
        grid-template-columns: 1fr;
    }
}

.search-sidebar-sticky {
    position: sticky;
    top: 1.25rem;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.view-toggle-btns {
    display: flex;
    background: var(--bg-card-inner);
    border: 1px solid var(--border-color);
    padding: 3px;
    border-radius: 8px;
}
.view-toggle-btn {
    border: none;
    background: transparent;
    padding: 0.4rem 0.8rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.view-toggle-btn.active {
    color: var(--bg-dark);
    background: var(--primary);
}

/* Interactive SVG Map Mock */
.mock-map-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    height: 480px;
    position: relative;
    overflow: hidden;
    display: none;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
}
.map-vector-bg {
    width: 100%;
    height: 100%;
    opacity: 0.15;
    object-fit: cover;
}
.map-pin {
    position: absolute;
    cursor: pointer;
    transform: translate(-50%, -100%);
    animation: bouncePin 1.5s infinite alternate ease-in-out;
}
@keyframes bouncePin {
    0% { transform: translate(-50%, -100%) translateY(0); }
    100% { transform: translate(-50%, -100%) translateY(-6px); }
}
.pin-ripple {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.pin-ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: ripple 1.5s infinite;
    top: -2px;
    left: -2px;
}
@keyframes ripple {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3.5); opacity: 0; }
}

.map-tooltip {
    position: absolute;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 10;
    pointer-events: none;
    display: none;
    transform: translate(-50%, -125%);
}

/* ==========================================
   👨⚕️ DOCTOR PROFILE PAGE STYLES
   ========================================== */
.doctor-profile-cover {
    display: flex;
    gap: 1.5rem;
    flex-direction: row;
    align-items: flex-start;
}
@media (max-width: 600px) {
    .doctor-profile-cover {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.chamber-tabs {
    display: flex;
    background: var(--bg-card-inner);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 3px;
    margin-bottom: 1rem;
    gap: 3px;
    overflow-x: auto;
}
.chamber-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem 1rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 7px;
    transition: var(--transition-smooth);
    text-align: center;
    white-space: nowrap;
}
.chamber-tab.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    border: 1px solid rgba(0, 245, 212, 0.15);
}

/* Horizontal Date Picker Carousel */
.date-picker-carousel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}
.date-scroll-area {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
    flex-grow: 1;
}
.date-scroll-area::-webkit-scrollbar {
    display: none;
}
.carousel-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-card-inner);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-smooth);
}
.carousel-arrow:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Sticky Bottom Action Mobile */
.sticky-book-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-panel);
    border-top: 1px solid var(--border-color);
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}

/* ==========================================
   ⚡ SKELETON SHIMMER LOADERS
   ========================================== */
.skeleton-shimmer {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.03) 25%, 
        rgba(255, 255, 255, 0.08) 37%, 
        rgba(255, 255, 255, 0.03) 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: 6px;
}

@keyframes shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

.skeleton-card {
    height: 190px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.skeleton-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
}
.skeleton-text {
    height: 12px;
    width: 100%;
}
.skeleton-text.short {
    width: 60%;
}
.skeleton-text.medium {
    width: 80%;
}

/* ==========================================
   🔐 AUTH & LOGIN PAGE STYLES
   ========================================== */
.auth-container {
    max-width: 400px;
    margin: 3rem auto;
    width: 100%;
}

.otp-box-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
    margin: 1.25rem 0;
}
.otp-input-field {
    width: 100%;
    aspect-ratio: 1;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--primary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-card-inner);
}

/* Map vectors */
.dhaka-vector-svg {
    stroke: var(--border-color);
    stroke-width: 1.5;
    fill: rgba(0, 180, 216, 0.02);
}
.dhaka-area-path:hover {
    fill: rgba(0, 245, 212, 0.04);
    stroke: var(--primary-glow);
}

/* API Playground Fix */
.api-endpoint-bar:hover {
    border-color: rgba(0, 245, 212, 0.2);
    background: var(--bg-card-hover);
}

/* Print Overrides */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    body * {
        visibility: hidden;
    }
    #modal-receipt, #modal-receipt * {
        visibility: visible;
    }
    #modal-receipt {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        opacity: 1 !important;
        display: block !important;
    }
    .modal-content {
        border: none !important;
        box-shadow: none !important;
        background: white !important;
        color: black !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }
    .modal-close, .btn {
        display: none !important;
    }
}

/* ==========================================
   🌟 SHARETRIP INSPIRED BOOKING WIDGET STYLES
   ========================================== */
.sharetrip-booking-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    text-align: left;
    margin: 0 auto;
}

.widget-tab {
    background: transparent;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-family: var(--font-display);
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
    border-bottom: 2px solid transparent;
}
.widget-tab:hover {
    color: var(--text-main);
    background: var(--bg-card-inner);
}
.widget-tab.active {
    color: var(--primary);
    background: rgba(0, 245, 212, 0.08);
    border-bottom: 2px solid var(--primary);
}

.widget-inputs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 140px;
    gap: 0.75rem;
    align-items: center;
}
@media (max-width: 768px) {
    .widget-inputs-grid {
        grid-template-columns: 1fr;
    }
    .widget-search-btn-col {
        width: 100%;
    }
}

.widget-input-col {
    background: var(--bg-card-inner);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    transition: var(--transition-smooth);
}
.widget-input-col:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 245, 212, 0.15);
}

.widget-field-wrap {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
}
.field-icon {
    font-size: 1.1rem;
    opacity: 0.7;
}

.widget-search-btn {
    width: 100%;
    height: 52px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}
.widget-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 245, 212, 0.3);
}

/* ==========================================
   🎁 EXCLUSIVE PROMOTIONS & OFFERS SECTION
   ========================================== */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
    }
}

.promo-card {
    border-radius: 16px;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Wallet branded colors */
.promo-bkash {
    background: linear-gradient(135deg, rgba(226, 19, 110, 0.1) 0%, rgba(226, 19, 110, 0.02) 100%);
    border-color: rgba(226, 19, 110, 0.2);
}
.promo-bkash:hover {
    border-color: rgba(226, 19, 110, 0.4);
    box-shadow: 0 10px 20px rgba(226, 19, 110, 0.1);
}

.promo-nagad {
    background: linear-gradient(135deg, rgba(244, 115, 33, 0.1) 0%, rgba(244, 115, 33, 0.02) 100%);
    border-color: rgba(244, 115, 33, 0.2);
}
.promo-nagad:hover {
    border-color: rgba(244, 115, 33, 0.4);
    box-shadow: 0 10px 20px rgba(244, 115, 33, 0.15);
}

.promo-card-scb {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1) 0%, rgba(0, 180, 216, 0.02) 100%);
    border-color: rgba(0, 180, 216, 0.2);
}
.promo-card-scb:hover {
    border-color: rgba(0, 180, 216, 0.4);
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.15);
}

.promo-badge-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
}
.promo-bkash .promo-badge-tag {
    color: #e2136e;
    background: rgba(226, 19, 110, 0.1);
}
.promo-nagad .promo-badge-tag {
    color: #f47321;
    background: rgba(244, 115, 33, 0.1);
}
.promo-card-scb .promo-badge-tag {
    color: var(--primary);
    background: rgba(0, 245, 212, 0.1);
}

.promo-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.promo-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.promo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25rem;
}
.promo-code-text {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--text-main);
    background: var(--bg-card-inner);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px dashed var(--border-color);
}
.promo-action {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--primary);
    transition: var(--transition-smooth);
}
.promo-card:hover .promo-action {
    transform: translateX(4px);
}

/* ==========================================
   🔐 MULTI-ROLE LOGIN CARD STYLES
   ========================================== */
.auth-role-card {
    position: relative;
    overflow: hidden;
}
.auth-role-card:hover {
    border-color: var(--primary) !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 245, 212, 0.12);
}
.auth-role-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 245, 212, 0.05), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}
.auth-role-card:hover::after {
    opacity: 1;
}


/* Generic glowing pulse animation */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 245, 212, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 245, 212, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 245, 212, 0);
    }
}

/* ==========================================
   🧱 MODAL SYSTEM STYLES (OVERLAY, CONTENT, & ANIMATIONS)
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 11, 19, 0.85);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.modal-overlay.active {
    display: flex !important;
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.25rem 2rem;
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 1px rgba(0, 245, 212, 0.2);
    backdrop-filter: blur(20px);
    animation: modal-zoom-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--text-main);
}

@keyframes modal-zoom-in {
    0% {
        transform: scale(0.92);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

/* ==========================================
   💳 MFS SANDBOX (bKASH / NAGAD) CHECKOUT STYLES
   ========================================== */
.bkash-header {
    background: #e2136e;
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.bkash-amount-card {
    background: rgba(226, 19, 110, 0.05);
    border: 1px solid rgba(226, 19, 110, 0.15);
    border-radius: 12px;
    padding: 1rem;
    width: 100%;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.bkash-amount {
    font-weight: 800;
    font-size: 2.2rem;
    color: #e2136e;
    font-family: var(--font-display);
    margin-top: 0.25rem;
}

.payment-gateways-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.4rem;
}

.payment-gateway-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    background: var(--bg-card-inner);
    transition: var(--transition-smooth);
    color: var(--text-muted) !important;
    font-weight: 700;
    user-select: none;
}

.payment-gateway-card:hover {
    border-color: var(--primary-glow);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main) !important;
}

.payment-gateway-card input[type="radio"] {
    accent-color: var(--primary);
    cursor: pointer;
    width: 16px;
    height: 16px;
    margin: 0;
}

.payment-gateway-card:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    background: rgba(0, 245, 212, 0.05);
    color: var(--primary) !important;
}


