/* ============================================
   VINCO79 - Video Evaluation System Styles
   Premium Glassmorphism Design
   ============================================ */

/* ============ CSS VARIABLES ============ */
:root {
    /* Primary Colors - VINCO Green (Company Theme) */
    --primary: #16A34A;
    --primary-light: #22C55E;
    --primary-dark: #15803D;
    --primary-gradient: linear-gradient(135deg, #16A34A 0%, #22C55E 100%);

    /* Accent Colors */
    --accent: #FFD700;
    --accent-light: #FFEB3B;

    /* Status Colors */
    --success: #4CAF50;
    --warning: #FF9800;
    --error: #F44336;
    --info: #2196F3;

    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --black: #000000;

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============ RESET & BASE ============ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
    min-height: 100vh;
}

/* ============ LOADING OVERLAY ============ */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-normal);
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-md);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader p {
    color: var(--gray-600);
    font-weight: 500;
}

/* ============ CONTAINER ============ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-lg);
}

/* ============ HEADER ============ */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--glass-shadow);
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-title {
    font-size: 1rem;
    color: var(--gray-600);
    padding-left: var(--space-lg);
    border-left: 2px solid var(--gray-200);
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.judge-info,
.deadline-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.judge-label,
.deadline-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.judge-name {
    font-weight: 600;
    color: var(--primary);
}

.deadline-value {
    font-weight: 600;
    color: var(--error);
}

/* ============ PROGRESS SECTION ============ */
.progress-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--glass-shadow);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
    color: var(--gray-600);
}

.progress-bar {
    height: 10px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
}

/* ============ MAIN CONTENT ============ */
.main-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

/* ============ VIDEO SECTION ============ */
.video-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--glass-shadow);
}

.video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.video-header h2 {
    font-size: 1.25rem;
    color: var(--gray-800);
}

.video-type-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.video-type-badge.video {
    background: rgba(33, 150, 243, 0.1);
    color: var(--info);
}

.video-type-badge.document {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning);
}

.video-container {
    position: relative;
    background: var(--gray-900);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-md);
    aspect-ratio: 16/9;
}

.video-container video,
.video-container iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.nav-counter {
    font-weight: 600;
    color: var(--gray-600);
}

/* ============ RATING SECTION ============ */
.rating-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--glass-shadow);
}

.rating-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    color: var(--gray-800);
}

.rating-group {
    margin-bottom: var(--space-lg);
}

.rating-label,
.comment-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: var(--space-sm);
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.star {
    font-size: 2rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.star:hover,
.star.active {
    color: var(--accent);
    transform: scale(1.1);
}

.star.active {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.score-display {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
}

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.score-max {
    font-size: 1.5rem;
    color: var(--gray-400);
}

/* Comment Group */
.comment-group {
    margin-bottom: var(--space-lg);
}

.comment-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: border-color var(--transition-fast);
}

.comment-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: var(--space-xs);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.autosave-indicator {
    text-align: center;
}

.autosave-status {
    font-size: 0.75rem;
    color: var(--gray-500);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    color: var(--white);
}

.btn-success:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--gray-300);
}

.btn-warning {
    background: linear-gradient(135deg, #FF9800 0%, #FFB74D 100%);
    color: var(--white);
}

.btn-warning:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.btn-nav {
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--gray-700);
}

.btn-nav:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-save {
    flex: 1;
}

.btn-save-next {
    flex: 2;
}

.btn-icon {
    font-size: 1.1em;
}

/* ============ CHECKLIST SECTION ============ */
.checklist-section {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--glass-shadow);
}

.checklist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.checklist-header h4 {
    font-size: 1rem;
    color: var(--gray-800);
}

.checklist-stats {
    display: flex;
    gap: var(--space-md);
    font-size: 0.875rem;
}

.stat-done {
    color: var(--success);
}

.stat-pending {
    color: var(--gray-500);
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: var(--space-sm);
    max-height: 200px;
    overflow-y: auto;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.75rem;
    transition: all var(--transition-fast);
}

.checklist-item:hover {
    background: var(--gray-200);
}

.checklist-item.active {
    border-color: var(--primary);
    background: rgba(46, 125, 50, 0.1);
}

.checklist-item.scored {
    background: rgba(76, 175, 80, 0.1);
}

.checklist-item.scored .checklist-check {
    color: var(--success);
}

.checklist-check {
    width: 16px;
    text-align: center;
}

.checklist-code {
    font-weight: 500;
}

/* ============ FOOTER ============ */
.footer {
    text-align: center;
    padding: var(--space-lg);
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-note {
    font-size: 0.75rem;
    margin-top: var(--space-xs);
}

/* ============ MODAL ============ */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.modal-content h2 {
    margin-bottom: var(--space-sm);
    color: var(--gray-800);
}

.modal-content p {
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
}

.modal-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

/* ============ TOAST ============ */
.toast {
    position: fixed;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: var(--white);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
    animation: toastIn 0.3s ease;
    z-index: 1001;
}

.toast.hidden {
    display: none;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.toast-icon {
    font-weight: bold;
}

/* ============ LOCKED OVERLAY ============ */
.locked-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.locked-overlay.hidden {
    display: none;
}

.locked-content {
    text-align: center;
    color: var(--white);
}

.locked-icon {
    font-size: 5rem;
    margin-bottom: var(--space-lg);
}

.locked-content h2 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.locked-content p {
    font-size: 1.1rem;
    color: var(--gray-400);
}

/* ============ ADMIN STYLES ============ */
.admin-body {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
}

.admin-container {
    max-width: 1600px;
}

.admin-header {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.admin-header .header-title,
.admin-header .logo-text {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
}

.admin-badge {
    background: rgba(255, 193, 7, 0.2);
    color: var(--accent);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Stats Section */
.stats-section {
    margin-bottom: var(--space-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    box-shadow: var(--glass-shadow);
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.section-header h2 {
    font-size: 1.25rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.admin-container .section-header h2 {
    color: var(--white);
}

/* Judge Status Section */
.judge-status-section {
    margin-bottom: var(--space-lg);
}

.judge-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

@media (max-width: 1024px) {
    .judge-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.judge-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--glass-shadow);
}

.judge-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.judge-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.judge-card .judge-info {
    flex: 1;
}

.judge-card .judge-info h4 {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.judge-card .judge-info p {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.judge-card .judge-status {
    font-size: 1.5rem;
}

.judge-card .judge-progress {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.judge-card .progress-bar {
    flex: 1;
    height: 8px;
}

.judge-card .progress-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    white-space: nowrap;
}

/* Rankings Section */
.rankings-section {
    margin-bottom: var(--space-lg);
}

.rankings-table-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.rankings-table {
    width: 100%;
    border-collapse: collapse;
}

.rankings-table th,
.rankings-table td {
    padding: var(--space-md);
    text-align: left;
}

.rankings-table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.rankings-table td {
    border-top: 1px solid var(--gray-200);
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.875rem;
}

.rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA000);
    color: white;
}

.rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #9E9E9E);
    color: white;
}

.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    color: white;
}

.rank-badge:not(.rank-1):not(.rank-2):not(.rank-3) {
    background: var(--gray-200);
    color: var(--gray-700);
}

/* Results Section */
.results-section {
    margin-bottom: var(--space-lg);
}

.search-input {
    padding: var(--space-sm) var(--space-md);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 0.875rem;
    width: 250px;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
}

.results-table-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    max-height: 500px;
    overflow-y: auto;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th,
.results-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    font-size: 0.875rem;
}

.results-table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--gray-600);
    position: sticky;
    top: 0;
    z-index: 1;
}

.results-table td {
    border-top: 1px solid var(--gray-200);
}

.result-row.complete {
    background: rgba(76, 175, 80, 0.05);
}

.result-row.partial {
    background: rgba(255, 152, 0, 0.05);
}

.type-badge {
    font-size: 1.25rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.complete {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success);
}

.status-badge.partial {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning);
}

.status-badge.pending {
    background: rgba(244, 67, 54, 0.1);
    color: var(--error);
}

.no-data {
    text-align: center;
    color: var(--gray-500);
    padding: var(--space-xl) !important;
}

/* Admin Actions */
.admin-actions-section {
    margin-bottom: var(--space-lg);
}

.actions-grid {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn-action {
    padding: var(--space-md) var(--space-xl);
}

/* Admin Footer */
.admin-footer {
    color: rgba(255, 255, 255, 0.6);
}

/* Error Page */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    color: var(--white);
}

.error-page h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

/* Hidden Utility */
.hidden {
    display: none !important;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .container {
        padding: var(--space-md);
    }

    .header {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .header-left {
        flex-direction: column;
    }

    .header-title {
        border-left: none;
        padding-left: 0;
    }

    .header-right {
        flex-direction: column;
    }

    .main-content {
        grid-template-columns: 1fr;
    }

    .star-rating {
        flex-wrap: wrap;
        justify-content: center;
    }

    .star {
        font-size: 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-save,
    .btn-save-next {
        flex: auto;
    }

    .video-nav {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .checklist-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
}