﻿/* ==========================================================================
   MENTU ONLINE SCHOOL - MODERN DESIGN SYSTEM
   ========================================================================== */

:root {
    /* Primary Colors */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    /* Secondary Colors */
    --secondary-500: #8b5cf6;
    --secondary-600: #7c3aed;
    --secondary-700: #6d28d9;

    /* Brand Gradients & Accents */
    --brand-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    --accent-purple: #a855f7;

    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Typography */
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   FEATURE IMPORTS
   ========================================================================== */
@import 'features/chat.css';
@import 'features/recording.css';
@import 'features/whiteboard.css';

/* ==========================================================================
   GLOBAL & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--brand-gradient);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.in-classroom {
    padding-bottom: 100px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.7);
}

/* ==========================================================================
   LAYOUT, GRID & NAVIGATION
   ========================================================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.modern-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-600);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-link {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-base);
}

.nav-link:hover {
    color: var(--primary-600);
}

.nav-link.active {
    color: var(--primary-600);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-700);
}

/* Grid Framework */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (min-width: 1024px) {
    .classroom-grid {
        display: block !important;
    }
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Cards & Glassmorphism */
.modern-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.modern-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px -15px rgb(0 0 0 / 0.3);
}

.modern-card-compact { padding: var(--spacing-lg); }
.modern-card-spacious { padding: var(--spacing-2xl); }

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

.btn-primary {
    background: var(--brand-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.btn-secondary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}
.btn-danger:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.btn-warning:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-600);
    color: var(--primary-600);
}
.btn-outline:hover:not(:disabled) {
    background: var(--primary-600);
    color: white;
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
}
.btn-ghost:hover:not(:disabled) {
    background: var(--gray-100);
}

.btn-tool {
    background: rgba(255, 255, 255, 0.9);
    color: #374151;
    border: 1px solid rgba(209, 213, 219, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}
.btn-tool:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tool-active {
    background: var(--brand-gradient) !important;
    color: white !important;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
}

/* Forms & Inputs */
.input-group {
    margin-bottom: var(--spacing-lg);
}

.input-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
}

.input-field, .modern-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.input-field:focus, .modern-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: rgba(255, 255, 255, 1);
}

.input-field:disabled, .modern-input:disabled {
    background: var(--gray-100);
    cursor: not-allowed;
}

.input-error { border-color: var(--accent-red); }
.input-helper { font-size: 0.8125rem; color: var(--gray-500); margin-top: var(--spacing-xs); }
.input-error-text { font-size: 0.8125rem; color: var(--accent-red); margin-top: var(--spacing-xs); }

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}
.badge-primary { background: var(--primary-100); color: var(--primary-700); }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin: auto;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 90%;
    max-width: 600px;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.close-button {
    color: #6b7280;
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
}
.close-button:hover, .close-button:focus {
    color: #374151;
    text-decoration: none;
    cursor: pointer;
}

/* Dropdowns */
.dropdown-toggle { position: relative; }
.dropdown-menu {
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(209, 213, 219, 0.5);
    backdrop-filter: blur(10px);
}
.dropdown-item {
    border: none;
    background: none;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    color: #374151;
    width: 100%;
    text-align: left;
    padding: var(--spacing-sm) var(--spacing-md);
}
.dropdown-item:hover {
    background-color: #f3f4f6;
    color: #1f2937;
}
.dropdown-item.tool-active {
    background: var(--brand-gradient);
    color: white;
}
.dropdown-item.tool-active:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Status Panels & Alerts */
.status-info { background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); border: 1px solid rgba(59, 130, 246, 0.2); color: #1e40af; }
.status-success { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); border: 1px solid rgba(34, 197, 94, 0.2); color: #166534; }
.status-error { background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%); border: 1px solid rgba(239, 68, 68, 0.2); color: #991b1b; }

.toast {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    background: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
    z-index: 9999;
}

/* ==========================================================================
   VIDEO & CLASSROOM MEDIA PIPELINES
   ========================================================================== */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: var(--brand-gradient);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-container.teacher-video {
    width: 100%;
    margin: 0 auto;
    padding-top: 56.25%;
    max-width: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

/* Classic Sidebar Roster Stream */
.roster-video-item {
    position: relative;
    background: var(--brand-gradient);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
    min-width: 120px;
    width: 120px;
    flex-shrink: 0;
}
.roster-video-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.roster-video-item.teacher {
    border: 3px solid #fbbf24;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}
.roster-video-item video { width: 100%; height: 100%; object-fit: cover; }
.roster-video-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: white; font-size: 2rem; }

.roster-video-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.roster-video-label.teacher {
    background: linear-gradient(to top, rgba(251, 191, 36, 0.9), transparent);
    color: #1f2937;
}

.disconnect-btn {
    position: absolute;
    top: 2px; right: 2px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px; height: 20px;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.roster-video-item:hover .disconnect-btn { opacity: 1; }
.disconnect-btn:hover { background: rgba(220, 38, 38, 1); transform: scale(1.1); }

/* Fixed Horizontal Video Footer Bar Layout */
.video-footer {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(102, 126, 234, 0.25);
    box-shadow: 0 -4px 24px rgba(102, 126, 234, 0.12);
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.video-footer__status {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4f46e5;
    font-size: 0.75rem;
    padding: 2px 4px;
}

.video-footer__strip {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 0;
}

.video-footer__tiles {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    flex: 1;
    padding-bottom: 2px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.video-footer__tiles::-webkit-scrollbar { height: 3px; }
.video-footer__tiles::-webkit-scrollbar-track { background: transparent; }
.video-footer__tiles::-webkit-scrollbar-thumb { background: rgba(102, 126, 234, 0.3); border-radius: 2px; }

.video-tile {
    position: relative;
    width: 160px; height: 120px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    scroll-snap-align: start;
    background: linear-gradient(135deg, #ede9fe 0%, #e0e7ff 100%);
    border: 1.5px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.video-tile:hover { border-color: rgba(102, 126, 234, 0.7); box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2); }
.video-tile.is-teacher { border-color: #a78bfa; box-shadow: 0 2px 12px rgba(167, 139, 250, 0.3); }

.video-tile__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    background: var(--brand-gradient);
}
.video-tile__initial { font-size: 1.4rem; font-weight: 700; color: white; line-height: 1; }
.video-tile__cam-off { font-size: 0.55rem; color: rgba(255,255,255,0.85); letter-spacing: 0.03em; margin-top: 2px; }
.video-tile__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.video-tile__label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(102, 126, 234, 0.8), transparent);
    color: white;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 3px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.video-tile__pip {
    position: absolute;
    top: 4px; right: 4px;
    background: rgba(102, 126, 234, 0.75);
    border: none; border-radius: 4px;
    padding: 3px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}
.video-tile:hover .video-tile__pip { opacity: 1; }

.video-footer__action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--brand-gradient);
    color: white;
    border: none; border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}
.video-footer__action-btn:hover { opacity: 0.9; box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4); }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.spinner { border: 3px solid var(--gray-200); border-top-color: var(--primary-600); border-radius: 50%; width: 40px; height: 40px; animation: spin 0.8s linear infinite; }
.skeleton { background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius-md); }
.fade-in { animation: fadeIn 0.5s ease-in-out; }
.slide-up { animation: slideUp 0.3s ease-out; }

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.mt-auto { margin-top: auto; }
.mb-auto { margin-bottom: auto; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (MOBILE-FIRST BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 60px; left: 0; right: 0;
        background: white;
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
    }
    .nav-menu.active {
        transform: translateX(0);
    }
}

@media (max-width: 640px) {
    .grid-cols-4, .grid-cols-3, .grid-cols-2 {
        grid-template-columns: repeat(1, 1fr);
    }
    .modern-card-compact { padding: var(--spacing-md); }
    .modern-card-spacious { padding: var(--spacing-lg); }
    .btn-mobile-full { width: 100%; }
    .toast { left: var(--spacing-md); right: var(--spacing-md); bottom: var(--spacing-md); max-width: none; }
    .video-tile { width: 120px; height: 90px; }
    .video-tile__initial { font-size: 1.1rem; }
    .video-footer { padding: 4px 6px; }
    
    /* Mobile Utilities */
    .mobile-hidden { display: none !important; }
    .mobile-block { display: block !important; }
    .mobile-text-sm { font-size: 0.875rem !important; }
    .mobile-p-sm { padding: var(--spacing-sm) !important; }
}