/* Read & Burn - Mobile-First Responsive CSS */
/* Color Palette: #222831 #393e46 #00adb5 #eeeeee */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #222831;
    min-height: 100vh;
    color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Support for Arabic text with Rubik font */
body[dir="rtl"], 
body[dir="rtl"] * {
    font-family: 'Rubik', 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== MOBILE LAYOUT STYLES ===== */
.container {
    width: 100%;
    padding: 1rem 0.75rem;
    margin: 0 auto;
}

.container.index-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem 0.75rem;
}

.container.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem 0.75rem;
}

.container.view-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem 0.75rem;
}

.container.404-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem 0.75rem;
    text-align: center;
}

.card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    color: #1e293b;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.card.login-card,
.card.view-card {
    max-width: 380px;
}

/* ===== MOBILE HEADER STYLES ===== */
.header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #00adb5;
    line-height: 1.2;
    background: none;
    -webkit-text-fill-color: #00adb5;
}

.header h1.admin-header {
    color: #00adb5;
}

.header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #00adb5;
    line-height: 1.3;
    background: none;
    -webkit-text-fill-color: #00adb5;
}

.header p {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.header.login-header h1 {
    font-size: 1.5rem;
    color: #00adb5;
}

.header.view-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.header.view-header h1 {
    font-size: 1.25rem;
    color: #00adb5;
}

.header.view-header .filename {
    font-size: 1rem;
    color: #64748b;
    word-break: break-all;
    margin-top: 0.25rem;
}

.header-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
}

/* ===== MOBILE FORM STYLES ===== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    color: #475569;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group textarea,
.form-group input[type="file"] {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
    padding-top: 0.875rem;
}

.form-group input[type="file"] {
    background: #f8fafc;
    cursor: pointer;
    padding: 1rem 0.875rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00adb5;
    box-shadow: 0 0 0 4px rgba(0, 173, 181, 0.1);
}

/* ===== MOBILE BUTTON STYLES ===== */
.btn {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 48px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: #00adb5;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 173, 181, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 173, 181, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 173, 181, 0.2);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-danger {
    background: #393e46;
    color: white;
    box-shadow: 0 4px 12px rgba(57, 62, 70, 0.2);
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(57, 62, 70, 0.3);
}

.btn-secondary {
    background: #f1f5f9;
    color: #1e293b;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

/* ===== MOBILE TAB STYLES ===== */
.tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    background: #f1f5f9;
    padding: 0.25rem;
    border-radius: 0.75rem;
}

.tab {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    flex: 1;
    padding: 0.875rem 0.5rem;
    border: none;
    background: transparent;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
    white-space: nowrap;
    touch-action: manipulation;
}

.tab.active {
    background: white;
    color: #00adb5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== MOBILE RESULT/NOTIFICATION STYLES ===== */
.result {
    margin-top: 1.25rem;
    padding: 1rem;
    border-radius: 0.75rem;
    display: none;
}

.result.success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.result.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.result a {
    color: #00adb5;
    text-decoration: none;
    word-break: break-all;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.result a:hover {
    text-decoration: underline;
}

.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    display: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.error.show {
    display: block;
}

/* ===== MOBILE PREVIEW STYLES ===== */
.preview-container {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
}

.preview-container img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    max-height: 300px;
    object-fit: cover;
}

.preview-container .preview-text {
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.6;
    max-height: 200px;
    overflow-y: auto;
    padding: 0.5rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
}

.file-preview {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    text-align: center;
}

.file-preview img {
    width: 100%;
    height: auto;
    max-height: 250px;
    border-radius: 0.5rem;
    object-fit: cover;
}

.file-preview .text-content {
    white-space: pre-wrap;
    word-break: break-word;
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.6;
    max-height: 200px;
    overflow-y: auto;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    text-align: left;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== MOBILE TIMER STYLES ===== */
.timer-section {
    background: #eeeeee;
    padding: 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.timer-section h2 {
    font-size: 1rem;
    color: #00adb5;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.progress-container {
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #fcd34d;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: #00adb5;
    transition: width 1s linear;
    border-radius: 6px;
}

.timer-text {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00adb5;
    font-variant-numeric: tabular-nums;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== MOBILE ADMIN/UPLOADS STYLES ===== */
.stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: white;
    padding: 1.25rem;
    border-radius: 0.75rem;
    color: #1e293b;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.stat-card h3 {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.stat-card .value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #00adb5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.uploads-list {
    background: white;
    border-radius: 0.75rem;
    padding: 1rem;
    color: #1e293b;
}

.upload-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    align-items: flex-start;
}

.upload-item:last-child {
    border-bottom: none;
}

.upload-item .icon {
    font-size: 1.5rem;
    align-self: center;
}

.upload-item .info {
    flex: 1;
}

.upload-item .info h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
    word-break: break-word;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.upload-item .info p {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.upload-item .time {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.upload-item .time .progress {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.upload-item .time .progress-bar {
    height: 100%;
    background: #00adb5;
    transition: width 0.3s ease;
}

.upload-item .time .time-left {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.upload-item .actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

/* ===== MOBILE BADGE STYLES ===== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.badge-image {
    background: #e0f2fe;
    color: #00adb5;
}

.badge-text {
    background: #ecfdf5;
    color: #00adb5;
}

.badge-other {
    background: #f1f5f9;
    color: #475569;
}

/* ===== MOBILE 404 PAGE STYLES WITH ARABIC SUPPORT ===== */
.icon-404 {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    animation: burn 2s ease-in-out infinite;
}

@keyframes burn {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.h1-404 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #00adb5;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.message-404 {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.message-404 p {
    font-size: 1rem;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Arabic text styling for 404 page */
.message-404 p:lang(ar),
.reasons-404 li {
    font-family: 'Rubik', 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
    direction: ltr;
    text-align: right;
}

.reasons-404 {
    text-align: left;
    margin-top: 1rem;
    padding-left: 1.25rem;
}

.reasons-404 li {
    margin-bottom: 0.5rem;
    color: #cbd5e1;
    font-size: 0.875rem;
    list-style-position: outside;
}

.btn-404 {
    display: inline-block;
    padding: 1rem 2rem;
    background: #00adb5;
    color: white;
    text-decoration: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.btn-404:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 173, 181, 0.3);
}

/* ===== MOBILE UTILITY STYLES ===== */
.hidden {
    display: none !important;
}

.admin-link {
    text-align: center;
    margin-top: 1rem;
}

.admin-link a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.875rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.admin-link a:hover {
    color: #00adb5;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.empty-state .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.toast {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: #00adb5;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: none;
    animation: slideUp 0.3s ease;
    text-align: center;
    z-index: 1000;
}

.toast.show {
    display: block;
}

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

/* ===== TABLET STYLES (768px and up) ===== */
@media (min-width: 768px) {
    .container {
        max-width: 1200px;
        padding: 1.5rem 1rem;
    }

    .card {
        padding: 2rem;
        border-radius: 1.5rem;
        max-width: none;
    }

    .card.login-card,
    .card.view-card {
        max-width: 500px;
        padding: 2.5rem;
    }

    .header h1 {
        font-size: 2rem;
    }

    .header h2 {
        font-size: 1.5rem;
    }

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

    .header-actions {
        flex-direction: row;
        gap: 0.5rem;
        justify-content: center;
    }

    .btn {
        width: auto;
        min-height: auto;
    }

    .stats {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .stat-card {
        padding: 1.5rem;
        text-align: left;
    }

    .stat-card .value {
        font-size: 2rem;
    }

    .uploads-list {
        padding: 1.5rem;
    }

    .upload-item {
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        gap: 1rem;
        align-items: center;
        text-align: left;
    }

    .upload-item .info h4 {
        margin-bottom: 0.25rem;
    }

    .upload-item .time {
        text-align: right;
        width: auto;
    }

    .upload-item .actions {
        flex-direction: row;
        width: auto;
    }

    .actions {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .toast {
        bottom: 2rem;
        right: 2rem;
        left: auto;
        max-width: 400px;
        text-align: left;
    }

    .file-preview .text-content {
        max-height: 300px;
        font-size: 1rem;
    }

    .preview-container .preview-text {
        max-height: 300px;
        font-size: 0.9rem;
    }

    .icon-404 {
        font-size: 8rem;
    }

    .h1-404 {
        font-size: 2.5rem;
    }

    .timer-section {
        padding: 1.5rem;
    }

    .timer-text {
        font-size: 2rem;
    }

    .progress-bar {
        height: 20px;
        border-radius: 10px;
    }

    .progress-fill {
        border-radius: 10px;
    }

    .upload-item .time .progress {
        height: 8px;
        border-radius: 4px;
    }
}

/* ===== DESKTOP STYLES (1024px and up) ===== */
@media (min-width: 1024px) {
    .container {
        padding: 2rem 1rem;
    }

    .card {
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    }

    .header h1 {
        font-size: 2.25rem;
    }

    .header h2 {
        font-size: 1.75rem;
    }

    .stats {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .stat-card .value {
        font-size: 2.25rem;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        box-shadow: 0 0 0 6px rgba(0, 173, 181, 0.1);
    }

    .empty-state {
        padding: 3rem;
    }

    .empty-state .icon {
        font-size: 4rem;
    }
}

/* ===== LARGE DESKTOP STYLES (1440px and up) ===== */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .header h1 {
        font-size: 2.5rem;
    }

    .header h2 {
        font-size: 2rem;
    }

    .card {
        border-radius: 2rem;
    }

    .stats {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* ===== EXTRA LARGE DESKTOP STYLES (1920px and up) ===== */
@media (min-width: 1920px) {
    .container {
        max-width: 1800px;
        padding: 3rem 2rem;
    }

    .header h1 {
        font-size: 3rem;
    }

    .header h2 {
        font-size: 2.25rem;
    }

    .stat-card .value {
        font-size: 2.5rem;
    }
}

/* ===== HIGH DPI/RETINA DISPLAYS ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card {
        box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #222831;
    }
}

/* ===== REDUCED MOTION SUPPORT ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== FOCUS VISIBLE FOR KEYBOARD USERS ===== */
:focus-visible {
    outline: 2px solid #00adb5;
    outline-offset: 2px;
}

/* ===== LANDSCAPE MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) and (orientation: landscape) {
    .container {
        padding: 0.5rem;
    }

    .card {
        margin: 0.5rem auto;
        padding: 1rem;
    }

    .header {
        margin-bottom: 1rem;
    }

    .header h1 {
        font-size: 1.25rem;
    }

    .header h2 {
        font-size: 1rem;
    }

    .form-group {
        margin-bottom: 0.75rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* ===== FOOTER STYLES ===== */
.footer {
    text-align: center;
    padding: 0.75rem 0;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 0 0.5rem;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Make footer white text on white cards */
.card .footer {
    border-top-color: #e2e8f0;
    padding: 0.5rem 0;
    margin-top: 1rem;
}

.card .footer p {
    color: #94a3b8;
    padding: 0 0.5rem;
}

/* Mobile-specific footer adjustments */
@media (max-width: 768px) {
    .footer {
        padding: 0.5rem 0;
        margin-top: 1rem;
    }
    
    .footer p {
        font-size: 0.45rem;
        line-height: 1.1;
        padding: 0 0.25rem;
    }
    
    .card .footer {
        padding: 0.375rem 0;
        margin-top: 0.75rem;
    }
}

/* Small mobile (under 480px) */
@media (max-width: 480px) {
    .footer {
        padding: 0.375rem 0;
        margin-top: 0.75rem;
    }
    
    .footer p {
        font-size: 0.4375rem;
        line-height: 1.1;
        padding: 0 0.125rem;
    }
    
    .card .footer {
        padding: 0.25rem 0;
        margin-top: 0.5rem;
    }
}

/* ===== MOBILE-SPECIFIC ENHANCEMENTS ===== */
@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }

    .card {
        padding: 1rem;
        border-radius: 0.75rem;
    }

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

    .header h2 {
        font-size: 1.1rem;
    }

    .tabs {
        gap: 0.125rem;
        padding: 0.125rem;
    }

    .tab {
        padding: 0.75rem 0.375rem;
        font-size: 0.8rem;
    }

    .btn {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .timer-section {
        padding: 1rem;
    }

    .timer-text {
        font-size: 1.25rem;
    }

    .upload-item {
        padding: 0.75rem;
    }

    .upload-item .info h4 {
        font-size: 0.9rem;
    }

    .upload-item .actions {
        gap: 0.375rem;
    }
}