/* One <style> block, lifted in place. Separate per block: merging
   blocks changes which rule wins. */

* {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }
            
            body {
                font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
                background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                min-height: 100vh;
                padding: 20px;
            }
            
            .container {
                background: white;
                border-radius: 20px;
                box-shadow: 0 20px 60px rgba(0,0,0,0.3);
                padding: 40px;
                max-width: 1000px;
                margin: 0 auto;
            }
            
            h1 {
                color: #333;
                margin-bottom: 30px;
                text-align: center;
                font-size: 28px;
            }
            
            .lock-icon {
                font-size: 48px;
                text-align: center;
                margin-bottom: 20px;
            }
            
            .password-form {
                max-width: 400px;
                margin: 0 auto 40px;
            }
            
            .form-group {
                margin-bottom: 20px;
            }
            
            label {
                display: block;
                color: #333;
                margin-bottom: 8px;
                font-weight: 600;
                font-size: 14px;
            }
            
            input[type="password"] {
                width: 100%;
                padding: 12px;
                border: 2px solid #e8ebff;
                border-radius: 8px;
                font-size: 16px;
                transition: border-color 0.3s;
            }
            
            input[type="password"]:focus {
                outline: none;
                border-color: #667eea;
            }
            
            .submit-btn {
                width: 100%;
                padding: 15px;
                background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                color: white;
                border: none;
                border-radius: 10px;
                font-size: 16px;
                font-weight: 600;
                cursor: pointer;
                transition: transform 0.2s;
            }
            
            .submit-btn:hover {
                transform: translateY(-2px);
            }
            
            .file-list {
                margin-top: 30px;
            }
            
            .file-table {
                width: 100%;
                border-collapse: collapse;
            }
            
            .file-table th {
                background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
                color: white;
                padding: 15px;
                text-align: left;
                font-weight: 600;
                font-size: 14px;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }
            
            .file-table th:first-child {
                border-radius: 10px 0 0 0;
            }
            
            .file-table th:last-child {
                border-radius: 0 10px 0 0;
            }
            
            .file-table td {
                padding: 15px;
                border-bottom: 1px solid #f0f0f0;
                color: #333;
                font-size: 14px;
            }
            
            .file-table tr:hover {
                background: #f8f9ff;
            }
            
            .file-name {
                font-weight: 600;
                color: #333;
            }
            
            .download-link {
                display: inline-block;
                padding: 8px 16px;
                background: #667eea;
                color: white;
                text-decoration: none;
                border-radius: 6px;
                font-size: 12px;
                transition: background 0.3s;
            }
            
            .download-link:hover {
                background: #764ba2;
            }
            
            .download-id {
                font-family: 'Courier New', monospace;
                background: #f0f0f0;
                padding: 4px 8px;
                border-radius: 4px;
                font-size: 12px;
            }
            
            .no-files {
                text-align: center;
                color: #999;
                padding: 60px;
                font-size: 18px;
            }
            
            .stats-badge {
                display: inline-block;
                background: #28a745;
                color: white;
                padding: 2px 8px;
                border-radius: 12px;
                font-size: 11px;
                margin-left: 5px;
            }

            .encryption-badge {
                display: inline-block;
                background: #17a2b8;
                color: white;
                padding: 2px 8px;
                border-radius: 12px;
                font-size: 11px;
            }

            .dual-badge {
                background: #ffc107;
                color: #333;
            }

            .upload-btn {
                display: inline-block;
                margin: 20px auto;
                padding: 12px 24px;
                background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
                color: white;
                text-decoration: none;
                border-radius: 8px;
                font-weight: 600;
                transition: transform 0.2s;
            }
            
            .upload-btn:hover {
                transform: translateY(-2px);
            }
            
            .header-actions {
                text-align: center;
                margin-bottom: 30px;
            }
            
            .file-size {
                color: #666;
            }
            
            .file-date {
                color: #999;
            }
