/* ================================================================
   BOOK POD MANAGER — LIGHT GRAVITY DESIGN SYSTEM
   Aligned with Apna Publisher Homepage (DESIGN.md)
   Theme: Deep Navy + Golden Amber + Glassmorphism
   ================================================================ */

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

/* ================================================================
   ASTRA THEME OVERRIDES — Full-Screen Dashboard Takeover
   Hides the WordPress theme header, page title, footer, and
   removes all container constraints when dashboard is active.
   ================================================================ */

/* Hide Astra header & navigation completely */
body:has(.book-pod-dashboard-wrapper) .ast-above-header-wrap,
body:has(.book-pod-dashboard-wrapper) .ast-below-header-wrap,
body:has(.book-pod-dashboard-wrapper) #ast-desktop-header,
body:has(.book-pod-dashboard-wrapper) #ast-mobile-header,
body:has(.book-pod-dashboard-wrapper) .ast-primary-header-bar,
body:has(.book-pod-dashboard-wrapper) header.site-header,
body:has(.book-pod-dashboard-wrapper) .site-header,
body:has(.book-pod-dashboard-wrapper) .main-header-bar-wrap,
body:has(.book-pod-dashboard-wrapper) .main-header-bar,
body:has(.book-pod-dashboard-wrapper) .ast-mobile-header-wrap,
body:has(.book-pod-dashboard-wrapper) #masthead {
    display: none !important;
}

/* Hide page title / entry header (the "dasboard" text) */
body:has(.book-pod-dashboard-wrapper) .ast-archive-description,
body:has(.book-pod-dashboard-wrapper) .entry-header,
body:has(.book-pod-dashboard-wrapper) .page-header,
body:has(.book-pod-dashboard-wrapper) .ast-page-builder-template .entry-header,
body:has(.book-pod-dashboard-wrapper) .entry-title,
body:has(.book-pod-dashboard-wrapper) h1.entry-title,
body:has(.book-pod-dashboard-wrapper) .ast-single-post .entry-header {
    display: none !important;
}

/* Hide Astra footer */
body:has(.book-pod-dashboard-wrapper) .ast-footer-overlay,
body:has(.book-pod-dashboard-wrapper) .site-footer,
body:has(.book-pod-dashboard-wrapper) footer.site-footer,
body:has(.book-pod-dashboard-wrapper) .ast-small-footer,
body:has(.book-pod-dashboard-wrapper) .ast-footer-copyright,
body:has(.book-pod-dashboard-wrapper) #colophon {
    display: none !important;
}

/* Remove all Astra container/content padding & margins */
body:has(.book-pod-dashboard-wrapper) #page,
body:has(.book-pod-dashboard-wrapper) #content,
body:has(.book-pod-dashboard-wrapper) .ast-container,
body:has(.book-pod-dashboard-wrapper) .site-content,
body:has(.book-pod-dashboard-wrapper) .ast-separate-container .ast-article-single,
body:has(.book-pod-dashboard-wrapper) .ast-separate-container .ast-article-post,
body:has(.book-pod-dashboard-wrapper) .site-main,
body:has(.book-pod-dashboard-wrapper) #primary,
body:has(.book-pod-dashboard-wrapper) .entry-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Force body to remove margins and scrollbar gaps */
body:has(.book-pod-dashboard-wrapper) {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    background: var(--bg-page) !important;
}

/* Also hide WP Admin Bar spacing if needed */
body:has(.book-pod-dashboard-wrapper).admin-bar .book-pod-sidebar {
    top: 32px;
    height: calc(100vh - 32px);
}

@media (max-width: 782px) {
    body:has(.book-pod-dashboard-wrapper).admin-bar .book-pod-sidebar {
        top: 0;
        height: auto;
    }
}

/* Fallback for browsers without :has() — use JS-added class */
body.book-pod-fullscreen .ast-above-header-wrap,
body.book-pod-fullscreen .ast-below-header-wrap,
body.book-pod-fullscreen #ast-desktop-header,
body.book-pod-fullscreen #ast-mobile-header,
body.book-pod-fullscreen .ast-primary-header-bar,
body.book-pod-fullscreen header.site-header,
body.book-pod-fullscreen .site-header,
body.book-pod-fullscreen .main-header-bar-wrap,
body.book-pod-fullscreen .main-header-bar,
body.book-pod-fullscreen .ast-mobile-header-wrap,
body.book-pod-fullscreen #masthead {
    display: none !important;
}

body.book-pod-fullscreen .ast-archive-description,
body.book-pod-fullscreen .entry-header,
body.book-pod-fullscreen .page-header,
body.book-pod-fullscreen .entry-title,
body.book-pod-fullscreen h1.entry-title {
    display: none !important;
}

body.book-pod-fullscreen .ast-footer-overlay,
body.book-pod-fullscreen .site-footer,
body.book-pod-fullscreen footer.site-footer,
body.book-pod-fullscreen .ast-small-footer,
body.book-pod-fullscreen .ast-footer-copyright,
body.book-pod-fullscreen #colophon {
    display: none !important;
}

body.book-pod-fullscreen #page,
body.book-pod-fullscreen #content,
body.book-pod-fullscreen .ast-container,
body.book-pod-fullscreen .site-content,
body.book-pod-fullscreen .ast-separate-container .ast-article-single,
body.book-pod-fullscreen .ast-separate-container .ast-article-post,
body.book-pod-fullscreen .site-main,
body.book-pod-fullscreen #primary,
body.book-pod-fullscreen .entry-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body.book-pod-fullscreen {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
    background: var(--bg-page) !important;
}

/* --- Design Tokens --- */
:root {
    /* Brand Colors */
    --deep-navy: #1a3a6c;
    --ocean-blue: #2c5282;
    --sky-captain: #2d5aa0;
    --celestial-blue: #4a7fd1;
    --bright-blue: #60a5fa;

    /* Gold Accents */
    --minted-gold: #ffc107;
    --burnished-gold: #e5ac00;
    --gold-haze: rgba(255, 193, 7, 0.06);
    --gold-glow: rgba(255, 193, 7, 0.2);

    /* Sidebar (Dark) */
    --bg-sidebar: #0c1a2e;
    --sidebar-border: rgba(255, 255, 255, 0.08);
    --sidebar-text: #94a3b8;
    --sidebar-text-hover: #ffffff;
    --sidebar-active-bg: rgba(255, 193, 7, 0.12);
    --sidebar-glass: rgba(255, 255, 255, 0.06);

    /* Main Content (Light) */
    --bg-page: #f4f6fa;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-subtle: #f8fafc;

    /* Text (Light content area) */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-heading: #0f172a;

    /* Borders (Light) */
    --border-light: #e2e8f0;
    --border-hover: #cbd5e1;
    --border-gold: rgba(255, 193, 7, 0.4);

    /* Status */
    --success-bg: #dcfce7;
    --success-text: #166534;
    --success-border: #86efac;
    --warning-bg: #fef9c3;
    --warning-text: #854d0e;
    --warning-border: #fde047;
    --danger-bg: #fee2e2;
    --danger-text: #991b1b;
    --danger-border: #fca5a5;

    /* Shadows */
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 10px 25px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 4px 14px rgba(255, 193, 7, 0.25);
    --shadow-nav: 0 0 20px rgba(255, 193, 7, 0.15);

    /* Layout */
    --sidebar-width: 260px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 99px;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================================================
   LAYOUT — DASHBOARD WRAPPER
   ================================================================ */
.book-pod-dashboard-wrapper,
.book-pod-dashboard-wrapper * {
    box-sizing: border-box;
}

.book-pod-dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Decorative Background Orbs — subtle on light bg */
.book-pod-dashboard-wrapper::before {
    content: '';
    position: fixed;
    top: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 58, 108, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.book-pod-dashboard-wrapper::after {
    content: '';
    position: fixed;
    bottom: -20%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.025) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* WP Admin override */
#wpbody-content .book-pod-dashboard-wrapper {
    margin-left: -20px;
}

/* ================================================================
   SIDEBAR — GLASSMORPHIC DARK NAV
   ================================================================ */
.book-pod-sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--sidebar-border);
    display: flex;
    flex-direction: column;
    padding: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    flex-shrink: 0;
    z-index: 10;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Sidebar Header — Logo Only */
.book-pod-sidebar-header {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--sidebar-border);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-pod-sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 4px;
}

.book-pod-sidebar-logo img {
    height: 42px;
    width: auto;
    filter: brightness(1.15) drop-shadow(0 2px 8px rgba(0,0,0,0.3));
    transition: all 0.3s var(--ease-smooth);
}

.book-pod-sidebar-logo:hover img {
    filter: brightness(1.35) drop-shadow(0 2px 12px rgba(255,193,7,0.2));
    transform: scale(1.05);
}

/* Gold accent line under header */
.book-pod-sidebar-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    background: linear-gradient(90deg, var(--minted-gold), transparent);
    opacity: 0.4;
}

/* Navigation */
.book-pod-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
    padding: 1rem 0.75rem;
}

.book-pod-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: var(--radius-md);
    color: var(--sidebar-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    transition: all 0.25s var(--ease-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.book-pod-nav-item .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: opacity 0.25s var(--ease-smooth);
}

.book-pod-nav-item:hover {
    background: var(--sidebar-glass);
    color: var(--sidebar-text-hover);
    border-color: var(--sidebar-border);
}

.book-pod-nav-item:hover .dashicons {
    opacity: 1;
}

/* Active Nav State — Gold Accent */
.book-pod-nav-item.active {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.12) 0%, rgba(255, 193, 7, 0.05) 100%);
    color: var(--minted-gold);
    border-color: var(--border-gold);
    font-weight: 600;
}

.book-pod-nav-item.active .dashicons {
    opacity: 1;
    color: var(--minted-gold);
}

/* Gold indicator bar on active item */
.book-pod-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: var(--minted-gold);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 8px var(--gold-glow);
}

/* CTA Button — Gold Gradient */
.book-pod-nav-item.cta-button {
    background: linear-gradient(135deg, var(--minted-gold) 0%, var(--burnished-gold) 100%);
    color: var(--deep-navy);
    font-weight: 700;
    margin: 0 0 8px 0;
    justify-content: center;
    border-color: transparent;
    border-radius: var(--radius-pill);
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-gold);
    padding: 12px 20px;
}

.book-pod-nav-item.cta-button:hover {
    background: linear-gradient(135deg, #ffd54f 0%, var(--minted-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 193, 7, 0.35);
    color: var(--deep-navy);
}

.book-pod-nav-item.cta-button .dashicons {
    opacity: 1;
    color: var(--deep-navy);
}

/* Sidebar Footer */
.book-pod-sidebar-footer {
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid var(--sidebar-border);
    margin-top: auto;
}

.book-pod-user-mini {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.book-pod-user-name {
    color: #e2e8f0 !important;
    font-weight: 600;
    font-size: 0.9rem;
}

.book-pod-logout-link {
    color: var(--sidebar-text) !important;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}

.book-pod-logout-link:hover {
    color: var(--minted-gold) !important;
}

/* ================================================================
   MAIN CONTENT AREA
   ================================================================ */
.book-pod-main-content {
    flex: 1;
    padding: 36px 40px;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

/* Page Header */
.course-header {
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    padding-bottom: 20px;
}

.course-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--minted-gold), transparent);
    border-radius: 2px;
}

.course-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-heading);
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.course-header-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 400;
}

/* Welcome Bar — replaces the removed "Author Dashboard" heading */
.book-pod-welcome-bar {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.book-pod-welcome-bar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--minted-gold), transparent);
}

.book-pod-welcome-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.book-pod-welcome-text strong {
    color: var(--text-heading);
    font-weight: 600;
}

/* ================================================================
   STATS BAR — Quick Summary Cards
   ================================================================ */
.book-pod-stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.book-pod-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.book-pod-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--deep-navy), var(--celestial-blue));
    opacity: 0.7;
}

.book-pod-stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
}

.book-pod-stat-card.gold-accent::before {
    background: linear-gradient(90deg, var(--minted-gold), var(--burnished-gold));
    opacity: 1;
}

.book-pod-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--deep-navy);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.book-pod-stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ================================================================
   BOOK LIST — Glassmorphic Cards
   ================================================================ */
.book-pod-simple-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* List Column Headers */
.book-pod-list-header {
    display: grid;
    grid-template-columns: 80px 1fr 130px 180px;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    gap: 16px;
}

/* Book Row Item */
.book-pod-list-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 80px 1fr 130px 180px;
    align-items: center;
    gap: 16px;
    transition: all 0.35s var(--ease-smooth);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.book-pod-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--celestial-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s var(--ease-smooth);
}

.book-pod-list-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
    background: var(--bg-card-hover);
}

.book-pod-list-item:hover::before {
    opacity: 1;
}

/* Scroll Reveal Animation */
.book-pod-list-item[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-smooth),
                transform 0.6s var(--ease-smooth),
                border-color 0.35s var(--ease-smooth),
                box-shadow 0.35s var(--ease-smooth),
                background 0.35s var(--ease-smooth);
}

.book-pod-list-item[data-animate].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Thumbnail */
.book-cover-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-cover-thumb {
    width: 60px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: block;
    transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth), border-color 0.3s;
    border: 2px solid transparent;
}

.book-cover-thumb:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    border-color: var(--border-gold);
}

.book-placeholder-thumb {
    width: 60px;
    height: 90px;
    background: linear-gradient(135deg, var(--bg-subtle) 0%, #eef2f7 100%);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 24px;
}

/* Book Info */
.book-info-col h3 {
    color: var(--text-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}

.book-info-col span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.book-specs-text {
    font-size: 0.85rem !important;
    color: var(--text-secondary) !important;
    margin-top: 4px;
}

.book-date-text {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    margin-top: 4px;
}

.book-rejection-reason {
    margin-top: 5px;
    background: var(--danger-bg) !important;
    color: var(--danger-text) !important;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid var(--danger-border);
}

/* Status Badge */
.status-badge {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
    transition: all 0.25s var(--ease-smooth);
}

.status-badge.approved {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);
}

.status-badge.pending {
    background: var(--warning-bg);
    color: var(--warning-text);
    border: 1px solid var(--warning-border);
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.15);
}

.status-badge.rejected {
    background: var(--danger-bg);
    color: var(--danger-text);
    border: 1px solid var(--danger-border);
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.15);
}

/* Actions */
.book-actions-col {
    display: flex;
    align-items: center;
    gap: 12px;
}

.action-icon-link {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.25s var(--ease-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    text-decoration: none;
}

.action-icon-link:hover {
    color: var(--deep-navy);
    background: #eef2f7;
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

/* Primary Action Button — Gold */
.action-btn-glow {
    background: linear-gradient(135deg, var(--minted-gold) 0%, var(--burnished-gold) 100%);
    border: none;
    color: var(--deep-navy);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s var(--ease-smooth);
    box-shadow: var(--shadow-gold);
    letter-spacing: 0.01em;
}

.action-btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 193, 7, 0.35);
    background: linear-gradient(135deg, #ffd54f 0%, var(--minted-gold) 100%);
    color: var(--deep-navy);
}

/* Lock Icon */
.lock-icon-muted {
    color: var(--text-muted) !important;
    font-size: 1.1rem !important;
    opacity: 0.5;
}

/* ================================================================
   EMPTY STATE
   ================================================================ */
.book-pod-empty-state {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

/* Decorative orb in empty state */
.book-pod-empty-state::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--gold-haze), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.book-pod-empty-state h3 {
    margin: 20px 0 10px;
    color: var(--text-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.book-pod-empty-state p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.empty-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.05) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--minted-gold);
    font-size: 32px;
}

/* ================================================================
   ORDERS TABLE — Clean Light Theme
   ================================================================ */
.book-pod-simple-table {
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    background: var(--bg-card) !important;
    box-shadow: var(--shadow-card);
}

.book-pod-simple-table table {
    width: 100%;
    border-collapse: collapse;
}

.book-pod-simple-table thead tr {
    background: var(--bg-subtle) !important;
    border-bottom: 1px solid var(--border-light) !important;
}

.book-pod-simple-table thead th {
    padding: 15px 18px !important;
    color: var(--text-muted) !important;
    text-align: left !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.book-pod-simple-table tbody tr {
    border-bottom: 1px solid var(--border-light) !important;
    transition: background 0.2s var(--ease-smooth);
}

.book-pod-simple-table tbody tr:hover {
    background: var(--bg-subtle) !important;
}

.book-pod-simple-table tbody tr:last-child {
    border-bottom: none !important;
}

.book-pod-simple-table td {
    padding: 16px 18px !important;
    color: var(--text-primary) !important;
    font-size: 0.92rem;
}

.book-pod-simple-table td strong {
    color: var(--text-heading) !important;
}

/* Status pill in orders */
.status-pill {
    font-size: 0.72rem !important;
    padding: 5px 12px !important;
    border-radius: var(--radius-pill) !important;
    background: var(--bg-subtle) !important;
    color: var(--text-secondary) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em;
    border: 1px solid var(--border-light);
}

/* Track Order Button */
.book-pod-btn-sm.track-order-btn {
    background: linear-gradient(135deg, var(--deep-navy), var(--sky-captain)) !important;
    border: none !important;
    color: white !important;
    padding: 10px 22px !important;
    border-radius: var(--radius-pill) !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth) !important;
    font-size: 0.85rem;
}

.book-pod-btn-sm.track-order-btn:hover {
    background: linear-gradient(135deg, var(--sky-captain), var(--celestial-blue)) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 82, 130, 0.25);
}

/* ================================================================
   AUTH PAGES (Login & Registration) — Navy Glassmorphic
   ================================================================ */
.book-pod-registration-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--bg-deep) 0%, var(--bg-main) 50%, #0d2240 100%);
    padding: 2rem;
    position: relative;
}

/* Decorative orb */
.book-pod-registration-page::before {
    content: '';
    position: fixed;
    top: -15%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--gold-haze), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.book-pod-auth-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1000px;
    min-height: 600px;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.book-pod-auth-image {
    flex: 1 1 45%;
    position: relative;
    background: linear-gradient(145deg, var(--deep-navy) 0%, var(--sky-captain) 50%, var(--celestial-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.book-pod-auth-image img {
    position: relative;
    z-index: 5;
    max-width: 85%;
    max-height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.book-pod-image-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 10;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.book-pod-image-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.book-pod-image-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.book-pod-image-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 193, 7, 0.15), transparent);
    z-index: 1;
    pointer-events: none;
}

.book-pod-auth-form-container {
    flex: 1 1 50%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-card-solid);
    z-index: 2;
}

.book-pod-auth-header {
    margin-bottom: 2rem;
}

.book-pod-auth-header h3 {
    font-size: 1.875rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.book-pod-auth-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Form Elements */
.book-pod-form-group {
    margin-bottom: 1.25rem;
}

.book-pod-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.book-pod-form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    background-color: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: all 0.25s var(--ease-smooth);
    box-sizing: border-box;
    font-family: inherit;
}

.book-pod-form-group input:focus {
    outline: none;
    border-color: var(--minted-gold);
    background-color: var(--bg-glass-light);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
}

.book-pod-form-group input::placeholder {
    color: var(--text-muted);
}

.book-pod-auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.book-pod-auth-footer a {
    color: var(--minted-gold);
    text-decoration: none;
    font-weight: 600;
}

.book-pod-auth-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .book-pod-auth-wrapper {
        flex-direction: column;
        max-width: 500px;
    }

    .book-pod-auth-image {
        display: none;
    }

    .book-pod-auth-form-container {
        padding: 2.5rem 2rem;
    }
}

/* ================================================================
   BUTTONS — Premium System
   ================================================================ */
.book-pod-btn,
.button.book-pod-btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: linear-gradient(135deg, var(--minted-gold), var(--burnished-gold));
    color: var(--deep-navy);
    font-weight: 700;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    font-size: 0.95rem;
    text-decoration: none;
    line-height: 1;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-gold);
}

.book-pod-btn:hover,
.button.book-pod-btn-primary:hover {
    background: linear-gradient(135deg, #ffd54f, var(--minted-gold));
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.35);
    color: var(--deep-navy);
}

.book-pod-btn-glow {
    background: linear-gradient(135deg, var(--minted-gold), var(--burnished-gold));
    color: var(--deep-navy);
    box-shadow: var(--shadow-gold);
    border-radius: var(--radius-pill);
    font-weight: 700;
}

.book-pod-btn-glow:hover {
    box-shadow: 0 8px 28px rgba(255, 193, 7, 0.35);
}

.book-pod-btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.book-pod-btn-secondary:hover {
    background-color: var(--bg-subtle);
    border-color: var(--border-hover);
    color: var(--text-heading);
}

/* ================================================================
   ROW CARDS (Hostinger-style)
   ================================================================ */
.book-pod-row-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    box-shadow: var(--shadow-card);
}

.book-pod-row-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
    border-color: var(--border-hover);
}

.book-pod-row-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
}

.book-pod-row-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-pod-fallback-icon {
    font-size: 24px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--bg-subtle);
}

.book-pod-row-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.book-pod-row-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.book-pod-row-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.3;
}

.book-pod-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-muted);
}

.book-pod-status-dot.approved {
    background-color: var(--success-text);
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.4);
}

.book-pod-status-dot.pending {
    background-color: var(--warning-text);
}

.book-pod-status-dot.rejected {
    background-color: var(--danger-text);
}

.book-pod-row-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 2px;
    font-weight: 500;
}

.book-pod-row-subtitle:hover {
    color: var(--minted-gold);
}

.book-pod-row-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
    justify-content: flex-end;
}

.book-pod-action-btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s var(--ease-smooth);
    border: 1px solid transparent;
}

.book-pod-action-btn-ghost:hover {
    background: var(--bg-subtle);
    color: var(--text-heading);
    border-color: var(--border-light);
}

.book-pod-action-btn-primary {
    background: linear-gradient(135deg, var(--deep-navy), var(--sky-captain));
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s var(--ease-smooth);
    box-shadow: 0 4px 12px rgba(26, 58, 108, 0.2);
    border: none;
}

.book-pod-action-btn-primary:hover {
    background: linear-gradient(135deg, var(--sky-captain), var(--celestial-blue));
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(44, 82, 130, 0.4);
}

.book-pod-action-btn-disabled {
    background: var(--bg-subtle);
    color: var(--text-muted);
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border-light);
    cursor: not-allowed;
}

/* ================================================================
   GRID / CARDS
   ================================================================ */
.book-pod-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.book-pod-book-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    line-height: 1.4;
}

.book-pod-badges {
    display: flex;
    gap: 0.5rem;
}

.book-pod-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.book-pod-badge.pending {
    background: var(--warning-bg);
    color: var(--warning-text);
    border: 1px solid var(--warning-border);
}

.book-pod-badge.approved {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}

.book-pod-badge.rejected {
    background: var(--danger-bg);
    color: var(--danger-text);
    border: 1px solid var(--danger-border);
}

.book-pod-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.book-pod-actions-row {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.book-pod-action-btn {
    flex: 1;
    text-align: center;
    padding: 0.6rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.book-pod-edit-btn {
    background-color: var(--bg-subtle);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.book-pod-edit-btn:hover {
    background-color: #eef2f7;
    border-color: var(--border-hover);
}

/* Header */
.book-pod-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
    max-width: 1200px;
}

.book-pod-header h2 {
    margin: 0;
    font-size: 2rem;
    color: var(--text-heading);
}

/* Utilities */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }
.text-sm { font-size: 0.875rem; }

/* ================================================================
   TRACKING MODALS — Navy Glassmorphic
   ================================================================ */
.book-pod-tracking-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8, 15, 30, 0.7);
    backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.book-pod-tracking-modal.active {
    display: flex;
    opacity: 1;
}

.book-pod-tracking-card {
    background: var(--bg-card);
    width: 90%;
    max-width: 600px;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s;
}

.book-pod-tracking-modal.active .book-pod-tracking-card {
    transform: scale(1);
}

.book-pod-timeline {
    position: relative;
    margin-top: 3rem;
    padding-left: 2rem;
}

.book-pod-timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    left: 6px;
    width: 3px;
    background: var(--border-light);
    border-radius: 99px;
}

.book-pod-timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.book-pod-timeline-dot {
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--text-muted);
    border: 3px solid var(--bg-card);
    box-shadow: 0 0 0 2px var(--text-muted);
    transition: all 0.5s ease;
    z-index: 2;
}

.book-pod-timeline-item.completed .book-pod-timeline-dot {
    background: var(--success-text);
    box-shadow: 0 0 0 2px var(--success-text);
}

.book-pod-timeline-item.active .book-pod-timeline-dot {
    background: var(--celestial-blue);
    box-shadow: 0 0 0 2px var(--celestial-blue);
    animation: pulse-blue 2s infinite;
}

.book-pod-timeline-content h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-heading);
    font-weight: 700;
}

.book-pod-timeline-content p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(74, 127, 209, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(74, 127, 209, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 127, 209, 0); }
}

/* Close Button */
.book-pod-close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    transition: color 0.2s;
}

.book-pod-close-modal:hover {
    color: var(--text-heading);
}

/* Premium Tracking Modal */
.book-pod-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(8, 15, 30, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.25s ease-out;
}

.book-pod-modal-card {
    background: var(--bg-card);
    width: 92%;
    max-width: 420px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: modalSlideUp 0.35s var(--ease-bounce);
}

.book-pod-modal-header {
    padding: 24px 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.book-pod-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

.book-pod-modal-header h3::before {
    display: none;
}

.book-pod-modal-close {
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    margin: -8px -8px 0 0;
}

.book-pod-modal-close:hover {
    background: var(--bg-subtle);
    color: var(--text-heading);
}

.book-pod-tracking-info {
    padding: 24px;
}

.tracking-row {
    display: flex;
    align-items: center;
    padding: 16px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    gap: 16px;
    transition: all 0.15s ease;
}

.tracking-row:hover {
    background: #eef2f7;
    border-color: var(--border-hover);
}

.tracking-row:last-child {
    margin-bottom: 0;
}

.tracking-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tracking-icon.carrier::before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 18.75a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m3 0h6m-9 0H3.375a1.125 1.125 0 01-1.125-1.125V14.25m17.25 4.5a1.5 1.5 0 01-3 0m3 0a1.5 1.5 0 00-3 0m3 0h1.125c.621 0 1.129-.504 1.09-1.124a17.902 17.902 0 00-3.213-9.193 2.056 2.056 0 00-1.58-.86H14.25M16.5 18.75h-2.25m0-11.177v-.958c0-.568-.422-1.048-.987-1.106a48.554 48.554 0 00-10.026 0 1.106 1.106 0 00-.987 1.106v7.635m12-6.677v6.677m0 4.5v-4.5m0 0h-12' /%3E%3C/svg%3E");
    background-size: contain;
}

.tracking-icon.id::before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M3.75 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 013.75 9.375v-4.5z' /%3E%3C/svg%3E");
    background-size: contain;
}

.tracking-details {
    flex: 1;
}

.tracking-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.tracking-value {
    display: block;
    color: var(--text-heading);
    font-weight: 700;
    font-size: 1rem;
}

.tracking-value.mono {
    font-family: 'SF Mono', 'Consolas', monospace;
    letter-spacing: 0.5px;
}

.tracking-empty {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-secondary);
}

.tracking-empty::before {
    content: '⏳';
    display: block;
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.book-pod-modal-actions {
    padding: 0 24px 24px;
    display: flex;
    gap: 12px;
}

.book-pod-btn-primary {
    flex: 1;
    background: linear-gradient(135deg, var(--deep-navy), var(--sky-captain));
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s var(--ease-smooth);
}

.book-pod-btn-primary:hover {
    background: linear-gradient(135deg, var(--sky-captain), var(--celestial-blue));
}

.book-pod-btn-primary:active {
    transform: scale(0.98);
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Order Status Timeline --- */
.timeline-modal {
    max-width: 440px;
}

.order-timeline {
    position: relative;
    padding-left: 0;
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    padding-bottom: 24px;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

/* Connecting Line */
.timeline-step::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    width: 2px;
    height: calc(100% - 40px);
    background: var(--border-light);
}

.timeline-step:last-child::before {
    display: none;
}

.timeline-step.completed::before {
    background: var(--success-text);
}

/* Marker Circle */
.timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.timeline-step.pending .timeline-marker {
    background: var(--bg-subtle);
    color: var(--text-muted);
    border: 2px solid var(--border-light);
}

.timeline-step.current .timeline-marker {
    background: rgba(74, 127, 209, 0.15);
    color: var(--celestial-blue);
    border: 2px solid var(--celestial-blue);
    box-shadow: 0 0 0 4px rgba(74, 127, 209, 0.1);
}

.timeline-step.completed .timeline-marker {
    background: var(--success-text);
    color: white;
    border: 2px solid var(--success-text);
}

.timeline-marker svg {
    width: 18px;
    height: 18px;
}

.step-num {
    font-size: 0.85rem;
}

/* Content */
.timeline-content {
    padding-top: 8px;
}

.timeline-label {
    display: block;
    font-weight: 600;
    color: var(--text-heading);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.timeline-step.pending .timeline-label {
    color: var(--text-muted);
}

.timeline-status {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(74, 127, 209, 0.15);
    color: var(--celestial-blue);
    border: 1px solid rgba(74, 127, 209, 0.2);
}

.timeline-status.completed {
    background: var(--success-bg);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}

/* Tracking Details Section */
.tracking-details-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.tracking-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.tracking-detail-row:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
}

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

.detail-value {
    color: var(--text-heading);
    font-weight: 600;
    font-size: 0.9rem;
}

.detail-value.mono {
    font-family: 'SF Mono', 'Menlo', monospace;
    background: var(--bg-subtle);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid var(--border-light);
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeUpIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255, 193, 7, 0); }
}

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

/* CTA Pulse Animation */
.book-pod-nav-item.cta-button {
    animation: pulseGold 3s infinite;
}

/* ================================================================
   MOBILE RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .book-pod-main-content {
        padding: 28px 24px;
    }
}

@media (max-width: 768px) {
    /* Layout switches to column */
    .book-pod-dashboard-wrapper,
    .book-pod-dashboard-wrapper.clean-white-theme {
        flex-direction: column;
    }

    /* Sidebar becomes Top Nav */
    .book-pod-sidebar {
        width: 100%;
        height: auto;
        padding: 0;
        position: relative;
        flex-direction: column;
        border-right: none;
        border-bottom: 1px solid var(--sidebar-border);
    }

    .book-pod-sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 12px 16px;
        margin-bottom: 0;
    }

    .book-pod-sidebar-header::after {
        display: none;
    }

    .book-pod-brand-name {
        font-size: 1rem;
    }

    .book-pod-brand-sub {
        display: none;
    }

    .book-pod-sidebar-logo img {
        height: 28px;
    }

    /* Wrap nav horizontally */
    .book-pod-nav {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
        padding: 8px 12px 12px;
        justify-content: center;
    }

    .book-pod-nav-item {
        padding: 8px 14px;
        font-size: 0.82rem;
        white-space: nowrap;
        flex-shrink: 0;
        flex: 1 1 auto;
        text-align: center;
        justify-content: center;
    }

    .book-pod-nav-item.active::before {
        display: none;
    }

    .book-pod-nav-item.cta-button {
        order: -1;
        flex: 1 1 100%;
        margin-bottom: 4px;
        animation: none;
    }

    .book-pod-sidebar-footer {
        display: none;
    }

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

    .course-header {
        margin-bottom: 16px;
        padding-bottom: 14px;
    }

    .course-header h1 {
        font-size: 1.5rem;
    }

    /* Stats bar */
    .book-pod-stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }

    .book-pod-stat-card {
        padding: 14px;
    }

    .book-pod-stat-number {
        font-size: 1.5rem;
    }

    /* Hide desktop list header */
    .book-pod-list-header,
    .book-pod-simple-list > div:first-child {
        display: none !important;
    }

    /* Mobile Card Layout */
    .book-pod-list-item {
        display: flex !important;
        flex-direction: column;
        grid-template-columns: unset !important;
        padding: 16px;
        gap: 12px;
    }

    .book-cover-col {
        order: 1;
    }

    .book-cover-thumb {
        width: 80px;
        height: 120px;
        margin: 0 auto;
    }

    .book-placeholder-thumb {
        width: 80px;
        height: 120px;
        margin: 0 auto;
    }

    .book-info-col {
        order: 2;
        text-align: center;
    }

    .book-info-col h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    /* Status in center */
    .book-pod-list-item > div:nth-child(3) {
        order: 3;
    }

    /* Actions row */
    .book-actions-col {
        order: 4;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap;
        gap: 10px !important;
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid var(--border-light);
    }

    .action-icon-link {
        width: 40px;
        height: 40px;
    }

    .action-btn-glow {
        flex: 1;
        max-width: 160px;
        padding: 10px 16px;
    }

    /* Orders Table Mobile - Card Layout */
    .book-pod-simple-table {
        border: none !important;
        background: transparent !important;
        overflow: visible;
        backdrop-filter: none !important;
    }

    .book-pod-simple-table table {
        display: block;
        width: 100%;
    }

    .book-pod-simple-table thead {
        display: none;
    }

    .book-pod-simple-table tbody {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .book-pod-simple-table tr {
        display: flex;
        flex-direction: column;
        background: var(--bg-card) !important;
        border: 1px solid var(--border-light) !important;
        border-radius: var(--radius-lg) !important;
        padding: 16px;
        gap: 12px;
    }

    .book-pod-simple-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 !important;
        border: none !important;
    }

    .book-pod-simple-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.78rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .book-pod-simple-table tr td:first-child {
        padding-bottom: 12px !important;
        border-bottom: 1px solid var(--border-light) !important;
        margin-bottom: 4px;
    }

    .book-pod-simple-table tr td:first-child strong {
        font-size: 1.05rem;
        color: var(--text-heading) !important;
    }

    .book-pod-simple-table .book-pod-btn-sm {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        margin-top: 8px;
    }

    .book-pod-simple-table tr td:last-child {
        padding-top: 12px !important;
        border-top: 1px solid var(--border-light) !important;
        margin-top: 4px;
        justify-content: center;
    }

    .book-pod-simple-table tr td:last-child::before {
        display: none;
    }

    /* Row Cards Mobile */
    .book-pod-row-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .book-pod-row-actions {
        width: 100%;
        justify-content: space-between;
    }

    .book-pod-action-btn-ghost,
    .book-pod-action-btn-primary {
        flex: 1;
        text-align: center;
    }

    .book-pod-row-icon {
        width: 100%;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .book-pod-stats-bar {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .book-pod-stat-card {
        padding: 12px;
    }

    .book-pod-stat-number {
        font-size: 1.3rem;
    }

    .book-pod-stat-label {
        font-size: 0.7rem;
    }

    .course-header h1 {
        font-size: 1.3rem;
    }
}