/* === Design System === */
        :root {
            /* Brand Colors */
            --brand-red: #c40510;
            --brand-red-dark: #d4051a;
            --brand-red-light: #E30613;
            
            /* Dark Theme */
            --dark-bg: #0a0a0a;
            --darker-bg: #050505;
            --card-bg: #1a1a1a;
            --text-light: #e0e0e0;
            --text-muted: #aaa;
            
            /* App-specific tokens */
            --app-bg: radial-gradient(1200px 700px at 70% 0%, rgba(227,6,19,0.18) 0%, rgba(10,10,10,0) 55%),
                      radial-gradient(900px 500px at 10% 20%, rgba(227,6,19,0.10) 0%, rgba(10,10,10,0) 60%),
                      linear-gradient(180deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
            --surface: rgba(26,26,26,0.85);
            --surface-solid: #1a1a1a;
            --surface-elevated: rgba(26,26,26,0.85);
            --bg: rgba(10,10,10,0.92);
            --text: var(--text-light);
            --border: rgba(255,255,255,0.06);
            --border-soft: rgba(255,255,255,0.06);
            --border-red: rgba(227,6,19,0.25);
            --success: #28A745;
            --warning: #FFC107;
            
            /* Spacing */
            --space-xs: 0.5rem;
            --space-sm: 0.75rem;
            --space-md: 1rem;
            --space-lg: 1.5rem;
            --space-xl: 2rem;
            --space-2xl: 3rem;
            
            /* Typography */
            --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            
            /* Effects */
            --shadow-sm: 0 10px 40px rgba(0,0,0,0.45);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
            --shadow-lg: 0 18px 45px rgba(0,0,0,0.4);
            --shadow-floating: 0 30px 80px rgba(227, 6, 19, 0.35);
            --shadow-soft: 0 10px 40px rgba(0,0,0,0.45);
            --shadow-red: 0 20px 50px rgba(227, 6, 19, 0.20);
            --radius: 20px;
            --radius-sm: 14px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Open+Sans:wght@400;600;700&display=swap');
        @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
        
        /* === Reset === */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        html, body {
            background: var(--dark-bg);
        }
        
        body {
            font-family: var(--font-body);
            background: var(--app-bg);
            color: var(--text-light);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }
        
.text-danger {
    --bs-text-opacity: 1;
    color: var(--brand-red) !important;
}
        
        
        /* Improve focus visibility (UX) */
        :focus-visible {
            outline: 2px solid rgba(227,6,19,0.75);
            outline-offset: 3px;
            border-radius: 10px;
        }
        
        /* === Header (Dark - matching website) === */
        .main-header {
            background: rgba(10,10,10,0.92);
            backdrop-filter: blur(12px);
            color: white;
            padding: 0.9rem 0;
            border-bottom: 1px solid var(--border-soft);
            box-shadow: 0 5px 30px rgba(227, 6, 19, 0.18);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .header-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 var(--space-lg);
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: var(--space-lg);
        }
        
        .logo {
            font-family: var(--font-display);
            font-size: 1.5rem;
            font-weight: 800;
            color: white;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: var(--space-sm);
            letter-spacing: 0.2px;
        }
        
        .logo-icon {
            width: 40px;
            height: 40px;
            background: var(--brand-red);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: 0 10px 25px rgba(227, 6, 19, 0.25);
        }
        
        .main-nav {
            display: flex;
            gap: var(--space-lg);
            list-style: none;
        }
        
        .main-nav a {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            font-size: 0.95rem;
            opacity: 0.95;
            position: relative;
        }
        
        .main-nav a::after {
            content:'';
            position:absolute;
            left:50%;
            bottom:-6px;
            width:0;
            height:2px;
            background: var(--brand-red);
            transform: translateX(-50%);
            transition: all 0.3s ease;
        }
        
        .main-nav a:hover::after {
            width: 80%;
        }
        
        .main-nav a:hover {
            color: var(--text-light);
        }
        
        .header-kosik-btn {
            background: var(--brand-red);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 12px 28px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: var(--space-sm);
            transition: var(--transition);
            font-size: 0.95rem;
            box-shadow: 0 5px 20px rgba(227,6,19,0.30);
        }
        
        .header-kosik-btn:hover {
            background: var(--brand-red);
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(227,6,19,0.50);
        }
        
        .header-kosik-count {
            background: rgba(255,255,255,0.95);
            color: var(--brand-red);
            border-radius: 50%;
            width: 26px;
            height: 26px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.85rem;
        }
        
        /* === Main Container === */
        .app-container {
            max-width: 1400px;
            margin: 0 auto;

            padding: var(--space-xl) var(--space-lg);
        }
        
        /* === Page Title === */
        .page-title {
            font-family: var(--font-display);
            font-size: clamp(2.1rem, 3vw, 3rem);
            font-weight: 900;
            color: var(--text-light);
            margin-bottom: var(--space-sm);
            letter-spacing: -0.02em;
            text-shadow: 2px 2px 20px rgba(0,0,0,0.65);
        }
        
        .page-subtitle {
            color: var(--text-muted);
            font-size: 1.1rem;
            margin-bottom: var(--space-xl);
        }
        
        /* === Filter Tabs === */
        .filter-section {
            background: rgba(26,26,26,0.85);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border-soft);
            border-radius: var(--radius);
            padding: var(--space-lg);
            margin-bottom: var(--space-xl);
            box-shadow: var(--shadow-soft);
        }
        
        .filter-label {
            font-weight: 800;
            color: var(--text-muted);
            margin-bottom: var(--space-md);
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.08em;
        }
        
        .filter-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: var(--space-md);
            flex-wrap: wrap;
            gap: var(--space-md);
        }
        
        .filter-tabs {
            display: flex;
            gap: var(--space-sm);
            flex-wrap: wrap;
        }
        
        .filter-tab {
            background: rgba(227,6,19,0.06);
            border: 1px solid rgba(227,6,19,0.10);
            color: var(--text-light);
            border-radius: 14px;
            padding: var(--space-sm) var(--space-lg);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            font-size: 0.95rem;
        }
        
        .filter-tab:hover {
            background: rgba(227,6,19,0.10);
            border-color: rgba(227,6,19,0.30);
            transform: translateY(-1px);
        }
        
        .filter-tab.active {
            background: var(--brand-red);
            border-color: rgba(227,6,19,0.60);
            color: white;
            box-shadow: 0 10px 25px rgba(227,6,19,0.25);
        }
        
        /* === Week Navigation === */
        .week-nav {
            background: rgba(26,26,26,0.85);
            backdrop-filter: blur(10px);
            border: 1px solid var(--border-soft);
            border-radius: var(--radius);
            padding: var(--space-lg);
            margin-bottom: var(--space-xl);
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: var(--shadow-soft);
        }
        
        .week-nav-btn {
            background: rgba(255,255,255,0.04);
            border: 1px solid var(--border-soft);
            color: var(--text-light);
            border-radius: 50px;
            padding: var(--space-sm) var(--space-lg);
            cursor: pointer;
            font-weight: 400;
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: var(--space-sm);
        }
        
        .week-nav-btn:hover {
            background: rgba(227,6,19,0.20);
            border-color: rgba(227,6,19,0.45);
            color: var(--text-light);
        }
        
        .current-week {
            font-weight: 700;
            font-size: 1.2rem;
            color: var(--text-light);
        }
        
        /* === Mobile Quick Filters === */
        .mobile-quick-filters {
            display: none;
        }
        
        .mobile-load-more {
            text-align: center;
            margin-top: var(--space-lg);
        }
        
        .load-more-btn {
            background: rgba(26,26,26,0.85);
            border: 1px solid rgba(255,255,255,0.06);
            color: var(--text-light);
            border-radius: 50px;
            padding: var(--space-md) var(--space-xl);
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .load-more-btn:hover {
            background: rgba(227,6,19,0.18);
            border-color: rgba(227,6,19,0.45);
        }
        
        /* === View Toggle === */
        .view-toggle {
            display: flex;
            gap: 4px;
            background: rgba(255,255,255,0.04);
            border: 1px solid var(--border-soft);
            padding: 4px;
            border-radius: var(--radius-sm);
        }
        
        .view-toggle-btn {
            background: transparent;
            border: none;
            border-radius: 6px;
            padding: 6px 12px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.85rem;
            color: var(--text-muted);
        }
        
        .view-toggle-btn:hover {
            color: var(--text-light);
        }
        
        .view-toggle-btn.active {
            background: rgba(255,255,255,0.08);
            color: var(--text-light);
            box-shadow: none;
        }
        
        /* === Timeline Schedule (Desktop) === */
        .schedule-timeline {
            display: grid;
            grid-template-columns: 80px repeat(7, 1fr);
            gap: 14px;
            position: relative;
        }
        
        .timeline-header {
            display: contents;
        }
        
        .timeline-day-header {
            background: rgba(26,26,26,0.85);
            border: 1px solid var(--border-soft);
            border-radius: 18px;
            padding: var(--space-md);
            text-align: center;
            box-shadow: 0 10px 35px rgba(0,0,0,0.35);
            font-weight: 700;
            position: relative;
            z-index: 1;
        }
        
        .day-name {
            font-size: 0.9rem;
            color: var(--text-muted);
            font-weight: 700;
            display: block;
        }
        
        .day-date {
            font-size: 1.1rem;
            color: var(--text-light);
            font-weight: 900;
            display: block;
            margin-top: 0.25rem;
        }
        
        .timeline-time-col {
            display: flex;
            flex-direction: column;
            gap: var(--space-md);
            position: relative;
            z-index: 1;
        }
        
        .time-marker {
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: rgba(224,224,224,0.70);
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.04);
            border-radius: 14px;
            font-size: 0.9rem;
        }
        
        .timeline-day-col {
            display: flex;
            flex-direction: column;
            gap: var(--space-md);
            position: relative;
            z-index: 1;
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.04);
            border-radius: 18px;
            padding: 8px;
        }
        
        .timeline-slot {
            min-height: 100px;
            position: relative;
        }
        
        /* === Desktop List View === */
        .desktop-list-view {
            display: none;
            grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
            gap: var(--space-lg);
        }
        
        .desktop-list-view.active {
            display: grid;
        }
        
        .desktop-lesson-card {
            background: rgba(26,26,26,0.85);
            border: 1px solid var(--border-soft);
            border-radius: var(--radius);
            padding: var(--space-lg);
            box-shadow: var(--shadow-soft);
            cursor: pointer;
            transition: var(--transition);
            border-left: 4px solid var(--brand-red);
        }
        
        .desktop-lesson-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-red);
        }
        
        .desktop-lesson-card.selected {
            border-left-color: rgba(40,167,69,1);
            background: rgba(40,167,69,0.08);
        }
        
        .desktop-lesson-card.full {
            border-left-color: rgba(108,117,125,1);
            background: rgba(255,255,255,0.03);
            opacity: 0.7;
            cursor: not-allowed;
        }
        
        .desktop-lesson-card.full:hover {
            transform: none;
            box-shadow: var(--shadow-soft);
        }
        
        .desktop-lesson-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: var(--space-md);
        }
        
        .desktop-lesson-day {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }
        
        .desktop-lesson-time {
            font-size: 1rem;
            color: var(--text-muted);
            font-weight: 600;
        }
        
        .desktop-lesson-name {
            font-size: 1.3rem;
            font-weight: 900;
            color: var(--text-light);
            margin-bottom: var(--space-xs);
        }
        
        .desktop-lesson-trainer {
            color: var(--text-muted);
            margin-bottom: var(--space-md);
        }
        
        .desktop-lesson-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: var(--space-md);
            border-top: 1px solid var(--border);
        }
        
        .desktop-add-btn {
            background: var(--brand-red);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 10px 18px;
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 5px 20px rgba(227, 6, 19, 0.30);
        }
        
        .desktop-add-btn:hover {
            background: var(--brand-red);
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(227, 6, 19, 0.5);
        }
        
        .desktop-add-btn.added {
            background: #28A745;
            box-shadow: 0 8px 30px rgba(40,167,69,0.35);
        }
        
        .desktop-add-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }
        
        /* === Lesson Card === */
        .lesson-card {
            background: linear-gradient(135deg,
                rgba(227,6,19,0.95) 0%,
                rgba(196,5,16,0.95) 55%,
                rgba(10,10,10,0.35) 140%);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 18px;
            padding: var(--space-md);
            color: white;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 15px 40px rgba(0,0,0,0.35);
            position: relative;
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .lesson-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
            opacity: 0;
            transition: var(--transition);
        }
        
        .lesson-card:hover::before {
            opacity: 1;
        }
        
        .lesson-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-red);
        }
        
        .lesson-card.selected {
            background: linear-gradient(135deg, rgba(40,167,69,0.95) 0%, rgba(24,125,52,0.95) 70%);
            box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.25), 0 18px 45px rgba(0,0,0,0.4);
        }
        
        .lesson-card.full {
            background: linear-gradient(135deg, rgba(108,117,125,0.9) 0%, rgba(60,60,60,0.9) 75%);
            border-color: rgba(255,255,255,0.10);
            cursor: not-allowed;
            opacity: 0.75;
        }
        
        .lesson-card.full:hover {
            transform: none;
        }
        
        .lesson-time {
            font-size: 0.85rem;
            font-weight: 700;
            opacity: 0.9;
            margin-bottom: 0.25rem;
        }
        
        .lesson-name {
            font-size: 1.05rem;
            font-weight: 900;
            letter-spacing: -0.01em;
            margin-bottom: 0.25rem;
            line-height: 1.2;
        }
        
        .lesson-trainer {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.82);
            margin-bottom: var(--space-sm);
        }
        
        .lesson-meta {
            margin-top: auto;
            padding-top: var(--space-sm);
            border-top: 1px solid rgba(255,255,255,0.20);
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
        }
        
        .lesson-capacity {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        .lesson-price {
            font-weight: 700;
        }
        
        .quick-add-btn {
            position: absolute;
            top: var(--space-sm);
            right: var(--space-sm);
            background: rgba(255,255,255,0.18);
            border: 1px solid rgba(255,255,255,0.18);
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.2rem;
            transition: var(--transition);
            backdrop-filter: blur(10px);
        }
        
        .quick-add-btn:hover {
            background: rgba(255,255,255,0.28);
            transform: scale(1.08);
        }
        
        .quick-add-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }
        
        .lesson-card.selected .quick-add-btn {
            background: rgba(255,255,255,0.9);
        }
        
        /* === Mobile Card List === */
        .mobile-card-list {
            display: none;
        }
        
        .mobile-lesson-card {
            background: rgba(26,26,26,0.85);
            border: 1px solid var(--border-soft);
            border-radius: var(--radius);
            padding: var(--space-lg);
            margin-bottom: var(--space-md);
            box-shadow: var(--shadow-soft);
            cursor: pointer;
            transition: var(--transition);
            border-left: 4px solid var(--brand-red);
        }
        
        .mobile-lesson-card:active {
            transform: scale(0.98);
        }
        
        .mobile-lesson-card.selected {
            border-left-color: var(--success);
            background: rgba(40,167,69,0.08);
            border-color: rgba(40,167,69,0.25);
        }
        
        .mobile-lesson-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: var(--space-sm);
        }
        
        .mobile-lesson-time {
            font-size: 0.9rem;
            color: var(--text-muted);
            font-weight: 600;
        }
        
        .mobile-lesson-name {
            font-size: 1.2rem;
            font-weight: 900;
            color: var(--text-light);
            margin-bottom: 0.25rem;
        }
        
        .mobile-lesson-trainer {
            color: var(--text-muted);
            margin-bottom: var(--space-sm);
        }
        
        .mobile-lesson-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: var(--space-sm);
            border-top: 1px solid var(--border);
        }
        
        .mobile-add-btn {
            background: var(--brand-red);
            color: white;
            border: none;
            border-radius: 50px;
            padding: var(--space-sm) var(--space-md);
            font-weight: 700;
            font-size: 0.9rem;
            box-shadow: 0 5px 20px rgba(227, 6, 19, 0.30);
        }
        
        .mobile-add-btn.added {
            background: #28A745;
            box-shadow: 0 8px 30px rgba(40,167,69,0.35);
        }
        
        /* === Floating Košík Button === */
        .floating-kosik {
            position: fixed;
            bottom: var(--space-xl);
            right: var(--space-xl);
            z-index: 1000;
        }
        
        .floating-kosik-btn {
            background: var(--brand-red);
            color: white;
            border: none;
            border-radius: 50%;
            width: 70px;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 30px 80px rgba(227, 6, 19, 0.35), 0 0 80px rgba(227, 6, 19, 0.15);
            transition: var(--transition);
            position: relative;
            font-size: 1.8rem;
        }
        
        .floating-kosik-btn:hover {
            transform: scale(1.08);
            background: var(--brand-red);
        }
        
        .floating-kosik-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #28A745;
            color: white;
            border-radius: 50%;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            font-weight: 700;
            border: 3px solid rgba(10,10,10,0.85);
        }
        
        /* === Košík Sidebar === */
        .kosik-sidebar {
            position: fixed;
            right: 0;
            top: 0;
            width: 450px;
            height: 100vh;
            background: rgba(10,10,10,0.98);
            border-left: 1px solid rgba(255,255,255,0.06);
            box-shadow: -8px 0 40px rgba(0,0,0,0.2);
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1051;
            display: flex;
            flex-direction: column;
        }
        
        .kosik-sidebar.open {
            transform: translateX(0);
        }
        
        .kosik-header {
            background: rgba(10,10,10,0.92);
            color: white;
            padding: var(--space-lg);
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            box-shadow: 0 5px 30px rgba(227, 6, 19, 0.12);
        }
        
        .kosik-header h2 {
            font-family: var(--font-display);
            font-size: 1.8rem;
            font-weight: 700;
        }
        
        .kosik-close {
            background: transparent;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            padding: 0;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: var(--transition);
        }
        
        .kosik-close:hover {
            background: rgba(255,255,255,0.1);
        }
        
        .kosik-items {
            flex: 1;
            overflow-y: auto;
            padding: var(--space-lg);
            background: transparent;
        }
        
        .kosik-item {
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: var(--radius-sm);
            padding: var(--space-md);
            margin-bottom: var(--space-md);
            display: flex;
            justify-content: space-between;
            align-items: start;
            transition: var(--transition);
        }
        
        .kosik-item:hover {
            box-shadow: var(--shadow-sm);
        }
        
        .kosik-item-info h4 {
            font-weight: 700;
            margin-bottom: 0.25rem;
            font-size: 1.05rem;
            color: var(--text-light);
        }
        
        .kosik-item-details {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.5;
        }
        
        .kosik-item-remove {
            background: transparent;
            border: none;
            color: var(--brand-red);
            cursor: pointer;
            font-size: 1.5rem;
            padding: 0;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: var(--transition);
        }
        
        .kosik-item-remove:hover {
            background: rgba(227,6,19,0.12);
        }
        
        .kosik-footer {
            border-top: 1px solid rgba(255,255,255,0.06);
            padding: var(--space-lg);
            background: rgba(26,26,26,0.85);
        }
        
        .kosik-total {
            display: flex;
            justify-content: space-between;
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: var(--space-lg);
            padding-bottom: var(--space-md);
            border-bottom: 1px solid rgba(255,255,255,0.06);
            color: var(--text-light);
        }
        
        .kosik-submit {
            width: 100%;
            background: var(--brand-red);
            color: white;
            border: none;
            border-radius: 50px;
            padding: var(--space-lg);
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 5px 25px rgba(227,6,19,0.40);
        }
        
        .kosik-submit:hover {
            background: #d4051a;
            transform: translateY(-2px);
            box-shadow: 0 8px 35px rgba(227,6,19,0.60);
        }
        
        .kosik-empty {
            text-align: center;
            padding: var(--space-2xl) var(--space-lg);
            color: var(--text-muted);
        }
        
        .kosik-empty-icon {
            font-size: 4rem;
            margin-bottom: var(--space-md);
            opacity: 0.3;
        }
        
        /* === Detail Modal === */
        .detail-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 2000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: var(--space-lg);
        }
        
        .detail-modal.active {
            display: flex;
        }
        
        .modal-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.72);
            backdrop-filter: blur(6px);
        }
        
        .modal-content {
            background: linear-gradient(135deg, #1a0000 0%, #2a0000 50%, #100000 100%);
            background: #0A0A0A;
            border: 2px solid rgba(227,6,19,0.25);
            border-radius: var(--radius);
            max-width: 600px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            z-index: 1;
            box-shadow: 0 30px 80px rgba(227,6,19,0.25), 0 0 100px rgba(227,6,19,0.12);
            animation: modalSlideIn 0.3s ease-out;
        }
        
        @keyframes modalSlideIn {
            from {
                opacity: 0;
                transform: translateY(-20px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
        
        .modal-header {
            background: linear-gradient(135deg, rgba(227,6,19,0.25) 0%, transparent 70%);
                background-color: var(--brand-red) !important;
            color: white;
            padding: var(--space-xl);
            position: relative;
        }
        
        .modal-close {
            position: absolute;
            top: var(--space-md);
            right: var(--space-md);
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }
        
        .modal-close:hover {
            background: rgba(255,255,255,0.3);
        }
        
        .modal-lesson-name {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: var(--space-sm);
        }
        
        .modal-lesson-time {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        .modal-body {
            padding: var(--space-xl);
            color: var(--text-light);
        }
        
        .modal-info-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: var(--space-lg);
            margin-bottom: var(--space-xl);
        }
        
        .modal-info-item {
            display: flex;
            align-items: start;
            gap: var(--space-sm);
        }
        
        .modal-info-icon {
            font-size: 1.5rem;
            color: rgba(227,6,19,0.95);
        }
        
        .modal-info-label {
            font-size: 0.85rem;
            color: rgba(255,255,255,0.65);
            display: block;
        }
        
        .modal-info-value {
            font-size: 1.1rem;
            font-weight: 700;
            color: #fff;
        }
        
        .modal-actions {
            display: flex;
            gap: var(--space-md);
        }
        
        .modal-action-btn {
            flex: 1;
            padding: var(--space-md) var(--space-lg);
            border: none;
            border-radius: 50px;
            font-weight: 700;
            font-size: 1.05rem;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .modal-action-primary {
            background: var(--brand-red);
            color: white;
            box-shadow: 0 5px 25px rgba(227,6,19,0.40);
        }
        
        .modal-action-primary:hover {
            background: #d4051a;
            transform: translateY(-2px);
            box-shadow: 0 8px 35px rgba(227,6,19,0.60);
        }
        
        .modal-action-secondary {
            background: rgba(255,255,255,0.08);
            color: #fff;
        }
        
        .modal-action-secondary:hover {
            background: rgba(255,255,255,0.12);
        }
        
        /* === Overlay === */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
            z-index: 999;
        }
        
        .overlay.active {
            opacity: 1;
            pointer-events: all;
        }
        
        /* === Empty State === */
        .empty-state {
            text-align: center;
            padding: var(--space-2xl);
            color: var(--text-muted);
        }
        
        .empty-state-icon {
            font-size: 5rem;
            margin-bottom: var(--space-lg);
            opacity: 0.3;
        }
        
        /* === Mobile Quick Filters === */
        .mobile-quick-filter {
            background: rgba(26,26,26,0.85);
            border: 1px solid rgba(255,255,255,0.06);
            color: var(--text-light);
            border-radius: 16px;
            padding: var(--space-md);
            text-align: center;
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .mobile-quick-filter.active {
            background: var(--brand-red);
            border-color: rgba(227,6,19,0.55);
            color: white;
            box-shadow: 0 10px 25px rgba(227,6,19,0.25);
        }
        
        /* === Responsive === */
        @media (max-width: 1024px) {
            .schedule-timeline {
                grid-template-columns: 70px repeat(7, minmax(120px, 1fr));
                overflow-x: auto;
            }
        }
        
        @media (max-width: 768px) {
            .main-nav {
                display: none;
            }
            
            .header-container {
                padding: 0 var(--space-md);
            }
            
            .app-container {
                padding: var(--space-lg) var(--space-md);
            }
            
            .page-title {
                font-size: 2rem;
            }
            
            .week-nav {
                display: none;
            }
            
            .view-toggle {
                display: none;
            }
            
            .mobile-quick-filters {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: var(--space-sm);
                margin-bottom: var(--space-lg);
            }
            
            .schedule-timeline {
                display: none;
            }
            
            .desktop-list-view {
                display: none !important;
            }
            
            .mobile-card-list {
                display: block;
            }
            
            .kosik-sidebar {
                width: 100%;
            }
            
            .floating-kosik {
                bottom: var(--space-lg);
                right: var(--space-lg);
            }
            
            .floating-kosik-btn {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }
        }
        
        
       /*********************/


/* HARD OVERRIDE: Bootstrap list-group-item (cart) */
.list-group-item{
  background-color: rgba(255,255,255,0.03) !important;
  color: var(--text-light) !important;
  border-color: rgba(255,255,255,0.06) !important;
}

.list-group-item .text-muted{
  color: var(--text-muted) !important;
}

.card.shadow-sm{
  background: rgba(26,26,26,0.85) !important;
  border-color: rgba(255,255,255,0.06) !important;
}

.list-group-item:hover{
  background-color: rgba(227,6,19,0.06) !important;
}

/* === Cart info box – readable text === */
 .card-body{
  color: var(--text-light);
      background: rgba(0, 0, 0, 0.95);
}

.card.shadow-sm .small{
  color: var(--text-light);
  opacity: 0.9;
}

/* bootstrap text helpers jsou moc vyblitý → zesvětlíme */
body.cart-page .text-primary,
body.cart-page .text-info,
body.cart-page .text-success,
body.cart-page .text-warning{
  filter: brightness(1.25);
}


body.cart-page .card-body li{
  color: var(--text-light);
}


/* ======================================
   BOOTSTRAP PRIMARY = BRAND RED (GLOBAL)
   ====================================== */

/* ======================================
   GLOBAL: Bootstrap buttons → RED THEME
   ====================================== */

/* ===== PRIMARY ===== */
.btn-primary{
  background-color: #c40510 !important;
  border-color: #c40510 !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(227,6,19,0.30);
  transition: all .2s ease;
}

.btn-primary:hover{
  background-color: #d4051a !important;
  border-color: #d4051a !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(227,6,19,0.50);
}

.btn-primary:focus,
.btn-primary:active{
  background-color: #b00414 !important;
  border-color: #b00414 !important;
  color: #fff !important;
  box-shadow: 0 0 0 3px rgba(227,6,19,0.35);
}

.btn-primary:disabled,
.btn-primary.disabled{
  background-color: #5a0a0f !important;
  border-color: #5a0a0f !important;
  color: #aaa !important;
  box-shadow: none;
  transform: none;
}


/* ===== OUTLINE PRIMARY ===== */
.btn-outline-primary{
  background: transparent;
  border: 2px solid #c40510 !important;
  color: #E30613 !important;
  font-weight: 700;
  transition: all .2s ease;
}

.btn-outline-primary:hover{
  background-color: #c40510 !important;
  border-color: #c40510 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(227,6,19,0.40);
}

.btn-outline-primary:focus,
.btn-outline-primary:active{
  background-color: #d4051a !important;
  border-color: #d4051a !important;
  color: #fff;
}

.btn-outline-primary:disabled{
  opacity: .5;
  box-shadow: none;
  transform: none;
}


/* ======================================
   AUTH / LOGIN CARD (dark theme)
   ====================================== */

/* ======================================
   AUTH / LOGIN CARD (dark theme)
   ====================================== */

/* card */
.card.shadow-sm.border-0{
  background: rgba(20,20,20,.85);
  border: 1px solid rgba(255,255,255,0.04) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
  color: #e0e0e0;
  overflow: hidden;
}

/* title */
.card-title{
  color: #fff;
  font-weight: 800;
}

/* input group left icon */
.input-group-text{
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  color: rgba(255,255,255,0.35) !important;
  border-right: none !important;
}

/* inputs */
.form-control{
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
  border-left: none !important;
  color: #fff !important;
  box-shadow: none;
}

.form-control::placeholder{
  color: rgba(255,255,255,0.25);
}

/* focus = red glow */
.form-control:focus{
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(196,5,16,0.5) !important;
  box-shadow: none !important;
  color: #fff !important;
}

/* focus na celou input-group */
.input-group:focus-within .input-group-text {
  border-color: rgba(196,5,16,0.5) !important;
}

/* help text */
.help-block{
  color: #ff6b6b;
  font-size: .85rem;
}

/* muted text */
.text-muted{
  color: rgba(255,255,255,0.35) !important;
}

/* divider */
hr{
  border-color: rgba(255,255,255,0.05);
  opacity: 1;
}

/* ======================================
   OAUTH buttons (Google / Seznam)
   ====================================== */

.btn-outline-secondary{
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  border-radius: 8px !important;
}

.btn-outline-secondary:hover{
  background: rgba(196,5,16,0.1);
  border-color: rgba(196,5,16,0.3);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,5,16,0.2);
}

/* ===== DANGER → RED (login button) ===== */
.btn-danger {
  background-color: #c40510 !important;
  border-color: #c40510 !important;
  box-shadow: 0 4px 15px rgba(196,5,16,0.3) !important;
  font-weight: 700;
}

.btn-danger:hover {
  background-color: #d4051a !important;
  border-color: #d4051a !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(196,5,16,0.45) !important;
}
/* ======================================
   BOOTSTRAP ALERTS → DARK APP STYLE
   ====================================== */

/* ======================================
   ALERTS – DARK + BRAND RED ONLY
   ====================================== */

.alert{
  background: rgba(26,26,26,0.92);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e0e0e0;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.35);
}


/* ===== SUCCESS (jen jemná red, ne zelená) ===== */
.alert-success{
  background: rgba(227,6,19,0.08);
  border-color: rgba(227,6,19,0.35);
  color: #fff;
}


/* ===== DANGER ===== */
.alert-danger{
  background: rgba(227,6,19,0.16);
  border-color: rgba(227,6,19,0.55);
  color: #fff;
}


/* ===== WARNING (jen slabší red, žádná žlutá) ===== */
.alert-warning{
  background: rgba(227,6,19,0.06);
  border-color: rgba(227,6,19,0.25);
  color: #ddd;
}


/* ===== INFO ===== */
.alert-info{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
  color: #ccc;
}


/* ===== PRIMARY ===== */
.alert-primary{
  background: rgba(227,6,19,0.12);
  border-color: rgba(227,6,19,0.45);
  color: #fff;
}


/* icons + links */
.alert i{ opacity:.95; }
.alert a{
  color:#fff;
  font-weight:600;
}


/* ======================================
   USER DROPDOWN MENU - DARK THEME
   ====================================== */

.dropdown-menu {
    background: rgba(10, 10, 10, 0.98) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(227, 6, 19, 0.15) !important;
    padding: 0.5rem;
    min-width: 220px;
}

.dropdown-header {
    padding: 1rem;
    background: rgba(227, 6, 19, 0.08);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(227, 6, 19, 0.15);
}

.dropdown-header strong {
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
}

.dropdown-header small {
    color: #4CAF50 !important;
    font-weight: 600;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.08) !important;
    margin: 0.5rem 0;
    opacity: 1;
}

.dropdown-item {
    color: #e0e0e0 !important;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.dropdown-item i {
    color: #aaa;
    transition: all 0.2s ease;
    width: 20px;
}

.dropdown-item:hover {
    background: rgba(227, 6, 19, 0.12) !important;
    color: #fff !important;
    transform: translateX(2px);
}

.dropdown-item:hover i {
    color: var(--brand-red);
}

.dropdown-item:active {
    background: rgba(227, 6, 19, 0.18) !important;
    color: #fff !important;
}

/* Odhlásit button */
.dropdown-item.text-danger {
    color: var(--brand-red) !important;
}

.dropdown-item.text-danger:hover {
    background: rgba(227, 6, 19, 0.15) !important;
    color: #fff !important;
}

.dropdown-item.text-danger i {
    color: var(--brand-red);
}

/* User icon button */
.nav-icon-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e0e0e0;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-icon-btn:hover {
    background: rgba(227, 6, 19, 0.15);
    border-color: rgba(227, 6, 19, 0.35);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.25);
}

.nav-icon-btn i {
    font-size: 1.4rem;
}

/* Form v dropdown (logout) */
.dropdown-menu form {
    margin: 0;
    padding: 0;
}

.dropdown-menu button[type="submit"] {
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
}


/* Rezervovaná lekce */
.lesson-card.user-reserved {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.05) 100%);
    border: 2px solid rgba(40, 167, 69, 0.5);
    position: relative;
}

.lesson-card.user-reserved::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #28a745;
}

.reserved-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.reserved-badge i {
    font-size: 0.85rem;
}

/* Desktop list view */
.desktop-lesson-card.user-reserved {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.05) 100%);
    border: 2px solid rgba(40, 167, 69, 0.5);
}

/*.desktop-lesson-card.user-reserved::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #28a745;
}*/

/* Mobile cards */
.mobile-lesson-card.user-reserved {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.05) 100%);
    border: 2px solid rgba(40, 167, 69, 0.5);
}

.mobile-lesson-card.user-reserved::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #28a745;
}

/* Disable add button na rezervovaných lekcích */
.lesson-card.user-reserved .quick-add-btn,
.desktop-lesson-card.user-reserved .desktop-add-btn,
.mobile-lesson-card.user-reserved .mobile-add-btn {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Desktop list view - reserved */
.desktop-lesson-card.user-reserved {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.05) 100%);
    border: 2px solid rgba(40, 167, 69, 0.5);
    position: relative;
}

/*.desktop-lesson-card.user-reserved::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #28a745;
} */

/* Badge viditelný vždy, ne jen při hoveru */
.desktop-lesson-card .reserved-badge,
.mobile-lesson-card .reserved-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #28a745;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    opacity: 1; /* Vždy viditelný */
}

/* Schovej tlačítko "Přidat" na rezervovaných lekcích */
.desktop-lesson-card.user-reserved .desktop-add-btn,
.mobile-lesson-card.user-reserved .mobile-add-btn {
    display: none; /* Úplně skryj */
}

/* Timeline - malý badge vpravo nahoře */
.lesson-card .reserved-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.lesson-card .reserved-badge i {
    font-size: 0.75rem;
}

/* Timeline - schovej quick add button */
.lesson-card.user-reserved .quick-add-btn {
    display: none;
}



/* ======================================
   PAGINATION (Yii2 / Bootstrap) → DARK + RED
   ====================================== */
/* ======================================
   PAGINATION (Yii2 / Bootstrap) → DARK + RED (works for .page-item/.page-link too)
   ====================================== */

.pagination{
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: var(--space-lg) 0;
  padding: 0;
  list-style: none;
}

.pagination > li,
.pagination .page-item{
  margin: 0;
}

/* Works for:
   - <li><a>...</a></li>
   - <li class="page-item"><a class="page-link">...</a></li>
   - <li><span>...</span></li>
*/
.pagination > li > a,
.pagination > li > span,
.pagination .page-link{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  min-width: 44px;
  height: 44px;
  padding: 0 16px;

  border-radius: 999px !important;
  text-decoration: none !important;

  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  color: var(--text-light) !important;

  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.02em;

  transition: var(--transition) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
}

/* hover */
.pagination > li > a:hover,
.pagination .page-link:hover{
  background: rgba(227,6,19,0.14) !important;
  border-color: rgba(227,6,19,0.45) !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(227,6,19,0.18);
  color: #fff !important;
}

/* active */
.pagination > li.active > a,
.pagination > li.active > span,
.pagination .page-item.active .page-link{
  background: var(--brand-red) !important;
  border-color: rgba(227,6,19,0.60) !important;
  color: #fff !important;
  box-shadow: 0 14px 35px rgba(227,6,19,0.28);
}

/* prev/next sizing */
.pagination > li.prev > a,
.pagination > li.next > a,
.pagination > li.prev > span,
.pagination > li.next > span,
.pagination .page-item.prev .page-link,
.pagination .page-item.next .page-link{
  min-width: 52px;
  padding: 0 18px;
  font-size: 1.05rem;
}

/* disabled */
.pagination > li.disabled > a,
.pagination > li.disabled > span,
.pagination .page-item.disabled .page-link,
.pagination .page-item.disabled > span{
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(255,255,255,0.06) !important;
  color: var(--text-muted) !important;
  pointer-events: none;
}

/* focus */
.pagination > li > a:focus-visible,
.pagination .page-link:focus-visible{
  outline: 2px solid rgba(227,6,19,0.75);
  outline-offset: 3px;
}

/* mobile */
@media (max-width: 480px){
  .pagination{ gap: 8px; }
  .pagination > li > a,
  .pagination > li > span,
  .pagination .page-link{
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
  }
}




/* === ON-DEMAND REZERVACE === */

.ondemand-container {
    background: rgba(26,26,26,0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: var(--space-xl);
    box-shadow: var(--shadow-soft);
}

.ondemand-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.ondemand-popis {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === Kroky === */

.ondemand-step {
    margin-bottom: var(--space-xl);
}

.ondemand-step.hidden {
    display: none;
}

.ondemand-step-label {
    font-weight: 800;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.ondemand-step-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-soft);
}

/* === Varianty === */

.ondemand-varianty {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.ondemand-varianta-btn {
    background: rgba(227,6,19,0.06);
    border: 1px solid rgba(227,6,19,0.15);
    border-radius: var(--radius-sm);
    padding: var(--space-md) var(--space-lg);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    min-width: 130px;
}

.ondemand-varianta-btn:hover {
    background: rgba(227,6,19,0.12);
    border-color: rgba(227,6,19,0.40);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227,6,19,0.18);
}

.ondemand-varianta-btn.active {
    background: var(--brand-red);
    border-color: rgba(227,6,19,0.60);
    color: white;
    box-shadow: 0 10px 30px rgba(227,6,19,0.30);
}

.varianta-nazev {
    font-weight: 700;
    font-size: 1rem;
}

.varianta-cena {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* === Dny === */

.ondemand-dny {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.ondemand-den-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: var(--space-sm) var(--space-md);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 70px;
}

.ondemand-den-btn:hover {
    background: rgba(227,6,19,0.10);
    border-color: rgba(227,6,19,0.35);
    transform: translateY(-2px);
}

.ondemand-den-btn.active {
    background: var(--brand-red);
    border-color: rgba(227,6,19,0.60);
    color: white;
    box-shadow: 0 8px 25px rgba(227,6,19,0.25);
}

.den-kratky {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.75;
}

.ondemand-den-btn.active .den-kratky {
    opacity: 0.9;
}

.den-datum {
    font-size: 1rem;
    font-weight: 800;
}

/* === Časová mřížka === */

.ondemand-mrizka {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.mrizka-loading {
    color: var(--text-muted);
    font-style: italic;
    padding: var(--space-md);
}

.ondemand-cas-btn {
    background: rgba(227,6,19,0.06);
    border: 1px solid rgba(227,6,19,0.15);
    border-radius: var(--radius-sm);
    padding: var(--space-sm) var(--space-md);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
    font-size: 0.95rem;
    min-width: 75px;
    text-align: center;
}

.ondemand-cas-btn.v-kosiku {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.05) 100%);
    border: 2px solid rgba(40, 167, 69, 0.5);
	}
.ondemand-cas-btn:hover:not(:disabled) {
    background: rgba(227,6,19,0.14);
    border-color: rgba(227,6,19,0.45);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227,6,19,0.18);
}

.ondemand-cas-btn.active {
    background: var(--brand-red);
    border-color: rgba(227,6,19,0.60);
    color: white;
    box-shadow: 0 8px 25px rgba(227,6,19,0.30);
}

.ondemand-cas-btn.obsazeno {
    background: rgba(255,255,255,0.02);
    border-color: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.20);
    cursor: not-allowed;
    text-decoration: line-through;
}

/* === Shrnutí === */

.ondemand-shrnuti {
    background: linear-gradient(135deg, rgba(227,6,19,0.08) 0%, rgba(10,10,10,0.4) 100%);
    border: 1px solid rgba(227,6,19,0.20);
    border-radius: var(--radius-sm);
    padding: var(--space-xl);
}

.shrnuti-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-soft);
}

.shrnuti-row:last-of-type {
    border-bottom: none;
    margin-bottom: var(--space-lg);
}

.shrnuti-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.shrnuti-value {
    color: var(--text-light);
    font-weight: 700;
}

.ondemand-add-btn {
    width: 100%;
    background: var(--brand-red);
    color: white;
    border: none;
    border-radius: 50px;
    padding: var(--space-md) var(--space-xl);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 25px rgba(227,6,19,0.35);
    margin-top: var(--space-md);
}

.ondemand-add-btn:hover:not(:disabled) {
    background: var(--brand-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(227,6,19,0.55);
}

.ondemand-add-btn.added {
    background: var(--success);
    box-shadow: 0 8px 30px rgba(40,167,69,0.35);
}

.ondemand-add-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* === Responsive === */

@media (max-width: 768px) {
    .ondemand-container {
        padding: var(--space-lg);
    }

    .ondemand-varianty {
        flex-direction: column;
    }

    .ondemand-varianta-btn {
        flex-direction: row;
        justify-content: space-between;
        min-width: unset;
        width: 100%;
    }

    .ondemand-dny {
        gap: var(--space-xs);
    }

    .ondemand-den-btn {
        min-width: 58px;
        padding: var(--space-xs) var(--space-sm);
    }

    .ondemand-cas-btn {
        min-width: 65px;
        font-size: 0.9rem;
    }
}

.ondemand-cas-btn.me-rezervovano {
    background: rgba(40,167,69,0.15);
    border-color: rgba(40,167,69,0.50);
    color: #28a745;
    cursor: not-allowed;
}

.ondemand-cas-btn.me-rezervovano::after {
    content: ' ✓';
    font-weight: 700;
}


.ondemand-moje-rezervace {
    margin: 1rem 0 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border-left: 3px solid #e63946;
}
.ondemand-rezervace-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.75rem;
}
.ondemand-rezervace-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.ondemand-rezervace-badge {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    padding: 0.4rem 0.75rem;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
        background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.05) 100%);
    border: 1px solid rgba(40, 167, 69, 0.5);
    
}
.rez-varianta {
    color: #28a745;;
    font-weight: 600;
}
.rez-datum, .rez-cas {
    color: rgba(255,255,255,0.8);
}

.header-user-info {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem .5rem;
    border-radius: 10px;
    transition: var(--transition);
    color: var(--text-light);
}

.header-user-info:hover {
    background: rgba(255,255,255,.05);
    color: var(--text-light);
}

.mobile-week-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    font-size: 0.85rem;
}