/* ==============================================================================
   JUNGLE NEPAL ADVENTURE SAAS — 2026 DESIGN SYSTEM & RESPONSIVE ENGINE
   ============================================================================== */

:root {
    --bg-main: #060913;
    --bg-surface: #0b1120;
    --bg-surface-elevated: #111827;
    --bg-sidebar: #090d1a;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --primary-glow: rgba(59, 130, 246, 0.25);
    
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);
    --border-dashed: rgba(255, 255, 255, 0.06);
    
    --glass-bg: rgba(15, 23, 42, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    --cell-width: 40px;
    --info-col-width: 300px;
    --sidebar-width: 270px;
    --bottom-nav-height: 64px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.12) 0px, transparent 45%),
        radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.08) 0px, transparent 40%),
        radial-gradient(at 50% 100%, rgba(139, 92, 246, 0.06) 0px, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

.app-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ==============================================================================
   SIDEBAR (DESKTOP) & MOBILE DRAWER
   ============================================================================== */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    height: -webkit-fill-available;
    z-index: 50;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.sidebar.collapsed {
    width: 72px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 20px;
    border-bottom: 1px solid var(--border);
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.logo-icon {
    color: var(--primary);
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.logo h2 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: opacity 0.2s ease;
}

.sidebar.collapsed .logo h2 {
    display: none;
}

.sidebar.collapsed .logo {
    padding: 22px 12px;
    justify-content: center;
}

.sidebar.collapsed #btn-toggle-sidebar {
    display: none;
}

.nav-menu {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-item i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.sidebar.collapsed .nav-item {
    justify-content: center;
    padding: 12px 0;
}

.sidebar.collapsed .nav-item span {
    display: none;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.nav-item:hover i {
    transform: scale(1.1);
}

.nav-item.active {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border-left: 3px solid var(--primary);
    font-weight: 600;
}

.sidebar.collapsed .nav-item.active {
    border-left: none;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.2);
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-profile img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    flex-shrink: 0;
}

.user-info {
    flex: 1;
    overflow: hidden;
}

.user-info .name {
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info .role {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.sidebar.collapsed .user-info,
.sidebar.collapsed #btn-logout {
    display: none;
}

.sidebar.collapsed .sidebar-footer {
    padding: 16px 8px;
    display: flex;
    justify-content: center;
}

.sidebar-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 45;
    display: none;
}

/* ==============================================================================
   MAIN CONTENT & TOP BAR
   ============================================================================== */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: calc(100vw - var(--sidebar-width));
    max-width: calc(100vw - var(--sidebar-width));
    transition: margin-left 0.25s cubic-bezier(0.16, 1, 0.3, 1), width 0.25s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 0;
}

.sidebar-collapsed .main-content {
    margin-left: 72px;
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Segmented View Switcher (Agenda vs Gantt) */
.segmented-control {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-strong);
    padding: 3px;
    border-radius: 10px;
    gap: 2px;
}

.seg-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.seg-btn i {
    width: 14px;
    height: 14px;
}

.seg-btn.active {
    background: rgba(59, 130, 246, 0.25);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    user-select: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-strong);
    transform: translateY(-1px);
}

.btn-icon {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-color: var(--border-strong);
}

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

.btn-icon-sm {
    padding: 4px 8px;
    border-radius: 6px;
}

/* ==============================================================================
   BENTO STATS & COMPACT MOBILE KPI BAR
   ============================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
    min-width: 0;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-details {
    min-width: 0;
}

.stat-details h3 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.stat-details p {
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
    margin-top: 3px;
}

/* Compact Mobile KPI Bar */
.mobile-kpi-bar {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border);
    padding: 10px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.mobile-kpi-item {
    text-align: center;
    padding: 4px;
}

.mobile-kpi-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.mobile-kpi-lbl {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 1px;
}

/* ==============================================================================
   AGENDA / CHRONOLOGICAL TIMELINE CARDS VIEW (MOBILE & CLEAN DESKTOP)
   ============================================================================== */
.agenda-view-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    padding-left: 20px;
}

/* Glowing date track connector line */
.agenda-view-container::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 24px;
    left: 7px;
    width: 2px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.6) 0%, rgba(16, 185, 129, 0.6) 50%, rgba(139, 92, 246, 0.3) 100%);
    border-radius: 2px;
}

.agenda-card {
    position: relative;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.agenda-card:hover {
    background: rgba(22, 33, 58, 0.85);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

/* Date node dot on connector track */
.agenda-card-dot {
    position: absolute;
    left: -20px;
    top: 20px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 3px solid var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
    z-index: 2;
}

.agenda-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.agenda-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.12);
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.agenda-duration-pill {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.agenda-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.agenda-card-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    font-size: 0.8rem;
}

.agenda-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.agenda-meta-item i {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Progress bar inside card */
.agenda-progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 4px;
}

.agenda-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ==============================================================================
   ELITE GANTT TIMELINE ARCHITECTURE
   ============================================================================== */
.gantt-container {
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg-surface);
    width: 100%;
}

.gantt-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.gantt-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}
.gantt-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}
.gantt-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Gantt Header Tier 1 (Months) */
.gantt-header-tier-months {
    display: flex;
    background: #090e1a;
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gantt-title-col {
    flex: 0 0 var(--info-col-width);
    width: var(--info-col-width);
    min-width: var(--info-col-width);
    max-width: var(--info-col-width);
    position: sticky;
    left: 0;
    z-index: 30;
    background: #090e1a;
    padding: 10px 14px;
    border-right: 1px solid var(--border-strong);
    box-shadow: 6px 0 16px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-secondary);
    position: relative;
    user-select: none;
}

.gantt-col-resizer {
    position: absolute;
    right: -4px;
    top: 0;
    bottom: 0;
    width: 8px;
    cursor: col-resize;
    z-index: 40;
    background: transparent;
    transition: background 0.15s ease;
}

.gantt-col-resizer:hover,
.gantt-col-resizer.is-resizing {
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

.gantt-col-presets {
    display: flex;
    align-items: center;
    gap: 4px;
}

.preset-pill {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.preset-pill:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.gantt-months-wrapper {
    flex: 1;
    display: flex;
}

.gantt-month-cell {
    padding: 10px 14px;
    text-align: center;
    border-left: 1px dashed var(--border-dashed);
    color: #93c5fd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(59, 130, 246, 0.03);
    font-size: 0.78rem;
    white-space: nowrap;
}

/* Gantt Header Tier 2 (Days) */
.gantt-header-tier-days {
    display: flex;
    background: #0c1222;
    border-bottom: 2px solid var(--border-strong);
    font-size: 0.7rem;
}

.gantt-days-wrapper {
    flex: 1;
    display: flex;
}

.gantt-day-header-cell {
    width: var(--cell-width);
    min-width: var(--cell-width);
    text-align: center;
    padding: 5px 0;
    border-left: 1px solid var(--border-dashed);
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--text-muted);
}

.gantt-day-header-cell .day-w {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.8;
}

.gantt-day-header-cell .day-n {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-primary);
}

.gantt-day-header-cell.weekend {
    background: rgba(255, 255, 255, 0.025);
}
.gantt-day-header-cell.weekend .day-n {
    color: var(--text-muted);
}

/* ==============================================================================
   TOUR ROWS & GANTT BARS
   ============================================================================== */
.tour-card {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
    position: relative;
    min-height: 84px;
}

.tour-card:hover {
    background: rgba(255, 255, 255, 0.025);
}

.tour-info-col {
    flex: 0 0 var(--info-col-width);
    width: var(--info-col-width);
    min-width: var(--info-col-width);
    max-width: var(--info-col-width);
    position: sticky;
    left: 0;
    z-index: 20;
    background: #0b1120;
    padding: 10px 14px;
    border-right: 1px solid var(--border-strong);
    box-shadow: 6px 0 16px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    transition: background 0.2s ease;
    overflow: hidden;
}

.tour-card:hover .tour-info-col {
    background: #0f172a;
}

.tour-info-col h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.01em;
}

.tour-date-subtext {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #60a5fa;
    letter-spacing: 0.01em;
    margin-bottom: 1px;
}

.tour-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.tour-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 500;
    white-space: nowrap;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-status {
    padding: 2px 7px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.badge-status.stat-confirmed {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-status.stat-prep {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Participant Role Badges */
.badge-role {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.role-leader {
    background: rgba(245, 158, 11, 0.15);
    color: #fde68a;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.role-guide {
    background: rgba(6, 182, 212, 0.15);
    color: #a5f3fc;
    border: 1px solid rgba(6, 182, 212, 0.35);
}

.role-traveler {
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.role-special {
    background: rgba(168, 85, 247, 0.15);
    color: #e9d5ff;
    border: 1px solid rgba(168, 85, 247, 0.35);
}

/* CRM Filter Bar */
.crm-filters {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.filter-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.filter-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.filter-pill.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.35);
}

.tour-gantt-col {
    flex: 1;
    position: relative;
    min-height: 84px;
}

.gantt-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    pointer-events: none;
}

.gantt-grid-cell {
    width: var(--cell-width);
    min-width: var(--cell-width);
    border-left: 1px dashed var(--border-dashed);
}

.gantt-grid-cell.weekend {
    background: rgba(255, 255, 255, 0.02);
}

.gantt-bar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 38px;
    border-radius: 10px;
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 0 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    z-index: 10;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease, box-shadow 0.2s ease;
    gap: 6px;
}

.gantt-bar:hover {
    filter: brightness(1.15);
    transform: translateY(-50%) scale(1.015);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 15;
}

.gantt-bar-date {
    background: rgba(0, 0, 0, 0.25);
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.gantt-bar-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tour-action-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 25;
}

.tour-card:hover .tour-action-btn {
    opacity: 1;
}

/* ==============================================================================
   MODALS (COMPACT, RESPONSIVE BOTTOM-SHEET / POPUP)
   ============================================================================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 16px;
    animation: fadeIn 0.15s ease;
}

.modal {
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #0d1424;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    animation: slideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
    background: #090e1a;
}

.modal-header h2, .modal-header h3 {
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: white;
}

.modal-body {
    padding: 14px 18px;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.modal-body::-webkit-scrollbar {
    width: 5px;
}
.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.form-group {
    margin-bottom: 9px;
}

.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.form-row.form-row-3 {
    grid-template-columns: 1fr 1fr 1.2fr;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.88rem;
    outline: none;
    transition: all 0.15s ease;
}

textarea {
    resize: none;
    min-height: 48px;
    line-height: 1.4;
}

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

select option {
    background: #0f172a;
    color: white;
}

.modal-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-top: 1px solid var(--border);
    background: #090e1a;
    flex-shrink: 0;
}

/* ==============================================================================
   MOBILE BOTTOM NAVIGATION BAR
   ============================================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--bottom-nav-height);
    background: rgba(9, 13, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-strong);
    z-index: 90;
    justify-content: space-around;
    align-items: center;
    padding: 4px 8px env(safe-area-inset-bottom, 8px);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
    transition: all 0.15s ease;
    flex: 1;
    max-width: 72px;
}

.mobile-nav-item i {
    width: 20px;
    height: 20px;
}

.mobile-nav-item.active {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.15);
}

.mobile-nav-fab {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.5);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: -14px;
}

/* ==============================================================================
   CRM RESPONSIVE CARDS
   ============================================================================== */
.crm-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.crm-cards-mobile {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.crm-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.crm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.crm-card-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.crm-card-email {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.crm-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

/* ==============================================================================
   NOTES RESPONSIVE CONTAINER
   ============================================================================== */
.notes-container-wrapper {
    display: flex;
    height: calc(100vh - 180px);
    overflow: hidden;
    border-radius: 16px;
}

.notes-sidebar-pane {
    width: 320px;
    border-right: 1px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,0.15);
}

.notes-editor-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: rgba(15, 23, 42, 0.4);
}

.notes-mobile-back-btn {
    display: none;
}

/* ==============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================== */
@media (max-width: 1024px) {
    :root {
        --sidebar-width: 0px;
        --info-col-width: 220px;
    }

    .sidebar,
    .sidebar.collapsed {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        width: 270px !important;
        transform: translateX(-100%) !important;
        z-index: 50 !important;
    }

    .sidebar.mobile-open,
    .sidebar.collapsed.mobile-open {
        transform: translateX(0) !important;
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.85) !important;
    }

    .sidebar-backdrop.mobile-open {
        display: block;
    }

    .main-content {
        margin-left: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        padding: 16px 16px;
        padding-bottom: calc(var(--bottom-nav-height) + 24px);
    }

    .mobile-bottom-nav {
        display: flex;
    }

    #btn-expand-sidebar {
        display: inline-flex !important;
    }
}

@media (max-width: 768px) {
    :root {
        --cell-width: 26px !important;
        --info-col-width: 132px !important;
    }

    .main-content {
        padding: 12px 10px;
        padding-bottom: calc(var(--bottom-nav-height) + 30px);
        gap: 14px;
    }

    .top-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header-actions {
        width: 100%;
        justify-content: space-between;
    }

    #season-selector {
        font-size: 1.25rem !important;
    }

    .stats-grid {
        display: none;
    }

    .mobile-kpi-bar {
        display: grid;
    }

    /* Gantt Mobile Optimization */
    .gantt-scroll-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-x: contain !important;
        border-radius: 12px !important;
    }

    .gantt-title-col {
        width: 132px !important;
        min-width: 132px !important;
        max-width: 132px !important;
        padding: 6px 8px !important;
        background: #0b1120 !important;
        border-right: 1px solid var(--border-strong) !important;
    }

    .gantt-title-col .gantt-col-presets,
    .gantt-title-col .gantt-col-resizer {
        display: none !important;
    }

    .tour-info-col {
        width: 132px !important;
        min-width: 132px !important;
        max-width: 132px !important;
        padding: 6px 8px !important;
        background: #0b1120 !important;
        border-right: 1px solid var(--border-strong) !important;
        box-shadow: 4px 0 14px rgba(0, 0, 0, 0.6) !important;
    }

    .tour-info-col h3 {
        font-size: 0.76rem !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-bottom: 2px !important;
        gap: 4px !important;
    }

    .tour-date-subtext {
        font-size: 0.64rem !important;
        gap: 2px !important;
        flex-wrap: wrap !important;
        line-height: 1.2 !important;
        margin-bottom: 3px !important;
    }

    .tour-duration-pill {
        font-size: 0.60rem !important;
        padding: 0 4px !important;
        margin-left: 0 !important;
    }

    .tour-meta {
        gap: 3px !important;
        flex-wrap: wrap !important;
    }

    .tour-meta-badge {
        font-size: 0.60rem !important;
        padding: 1px 4px !important;
    }

    .badge-status {
        font-size: 0.56rem !important;
        padding: 1px 5px !important;
    }

    .gantt-day-header-cell {
        width: 26px !important;
        min-width: 26px !important;
        max-width: 26px !important;
        padding: 4px 0 !important;
    }

    .gantt-day-header-cell .day-w {
        font-size: 0.56rem !important;
    }

    .gantt-day-header-cell .day-n {
        font-size: 0.66rem !important;
    }

    .gantt-grid-cell {
        width: 26px !important;
        min-width: 26px !important;
        max-width: 26px !important;
    }

    .gantt-month-cell {
        padding: 6px 8px !important;
        font-size: 0.72rem !important;
    }

    .gantt-bar {
        height: 32px !important;
        padding: 0 6px !important;
        font-size: 0.70rem !important;
        border-radius: 6px !important;
        gap: 4px !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45) !important;
    }

    .gantt-bar-date {
        font-size: 0.60rem !important;
        padding: 1px 4px !important;
    }

    .gantt-bar-title {
        font-size: 0.68rem !important;
        font-weight: 600 !important;
    }

    .tour-card {
        min-height: 72px !important;
    }

    /* Notes Master-Detail Flow on Mobile */
    .notes-container-wrapper {
        height: calc(100vh - 220px);
    }

    .notes-sidebar-pane {
        width: 100%;
        border-right: none;
    }

    .notes-editor-pane {
        display: none;
        width: 100%;
    }

    .notes-container-wrapper.editing-mode .notes-sidebar-pane {
        display: none;
    }

    .notes-container-wrapper.editing-mode .notes-editor-pane {
        display: flex;
    }

    .notes-mobile-back-btn {
        display: inline-flex;
    }

    /* CRM Table to Cards on Mobile */
    .crm-table-wrapper {
        display: none;
    }

    .crm-cards-mobile {
        display: flex;
    }

    /* Bottom Sheet Modals on Mobile */
    .modal-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .modal {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 88vh;
        animation: slideUpMobile 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .form-row.form-row-3 {
        grid-template-columns: 1fr 1fr;
    }
}

/* ==============================================================================
   AUTH / LOGIN SCREEN (RESPONSIVE)
   ============================================================================== */
.auth-screen {
    display: flex;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 32px 24px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.auth-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.auth-header h2 {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

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

.auth-error-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    margin-bottom: 16px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.input-with-icon input {
    padding-left: 40px;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 12px;
    margin-top: 8px;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ==============================================================================
   TOASTS & ANIMATIONS
   ============================================================================== */
#toast-container {
    position: fixed;
    bottom: calc(var(--bottom-nav-height) + 16px);
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: calc(100vw - 40px);
}

@media (min-width: 1024px) {
    #toast-container {
        bottom: 28px;
        right: 28px;
    }
}

.toast {
    background: #1e293b;
    color: white;
    padding: 10px 16px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1), fadeOut 0.3s ease 3s forwards;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
}

.toast.success { border-left-color: #10b981; }
.toast.error { border-left-color: #ef4444; }

.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

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

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

@keyframes slideUp {
    from { transform: translateY(15px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideUpMobile {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.modal-overlay.active {
    display: flex !important;
}

/* ==============================================================================
   FINANCE & RENTABILITÉ MODULE (2026 ELITE STYLING)
   ============================================================================== */
.bento-kpi-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
}

.bento-kpi-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.5);
}

.bento-kpi-card.profit-card {
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.12) 0%, rgba(15, 23, 42, 0.8) 100%);
    border-color: rgba(16, 185, 129, 0.25);
}

.bento-kpi-card.profit-card:hover {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 8px 30px -4px rgba(16, 185, 129, 0.2);
}

.finance-tour-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 22px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.35);
    margin-bottom: 24px;
}

.finance-tour-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 35px -4px rgba(0, 0, 0, 0.5);
}

.fin-breakdown-bar {
    display: flex;
    height: 8px;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    gap: 2px;
    margin: 12px 0 16px 0;
}

.fin-slice-fixed {
    height: 100%;
    background: #f43f5e;
    transition: width 0.3s ease;
}

.fin-slice-variable {
    height: 100%;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.fin-slice-profit {
    height: 100%;
    background: #10b981;
    transition: width 0.3s ease;
}

.expense-type-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 640px) {
    .expense-type-toggle {
        grid-template-columns: 1fr;
    }
}

.expense-type-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.expense-type-card input {
    display: none;
}

.expense-type-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

.expense-type-card.active {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.12);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.expense-type-card .type-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: white;
}

.expense-type-card .type-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.badge-expense-type {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-expense-type.fixe {
    background: rgba(244, 63, 94, 0.15);
    color: #fda4af;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.badge-expense-type.variable {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-expense-cat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Multi-Currency Support (EUR, NPR, USD) */
.currency-toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.currency-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.currency-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.22);
    color: white;
}

.currency-btn.active {
    background: rgba(245, 158, 11, 0.15);
    border-color: #f59e0b;
    color: #fbbf24;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.badge-cur {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.badge-cur.npr {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-cur.usd {
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.25);
}

.badge-cur.eur {
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

/* ==============================================================================
   AGENDA TIMELINE (2026 MOBILE & DESKTOP LIST VIEW)
   ============================================================================== */
.agenda-timeline-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    margin-top: 12px;
}

.agenda-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 18px;
    position: relative;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.agenda-card:hover {
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.5);
}

.agenda-card-dot {
    position: absolute;
    left: -28px;
    top: 20px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-main);
    border: 3px solid #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.agenda-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.agenda-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
}

.agenda-duration-pill {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}

.agenda-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.agenda-card-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 10px 12px;
    border-radius: 12px;
}

.agenda-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.agenda-meta-item i {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.8;
}

.agenda-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.agenda-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    border-radius: 2px;
}
