.header {
            text-align: center;
            margin-bottom: 30px;
            background: #ffffff;
            padding: 30px;
            border-radius: 8px;
            border: 1px solid #ddd;
            box-shadow: 0 4px 10px rgba(0,0,0,0.04);
        }
        .header h1 {
            font-size: 2.2em;
            color: #222;
            border-bottom: 2px solid #17a2b8;
            padding-bottom: 10px;
            margin-bottom: 10px;
            font-weight: 400;
        }
        .header p {
            margin: 0;
            color: #666;
            font-size: 1.1em;
        }

        .upload-section, .new-file-section {
            background: #f8f9fa;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 30px;
            text-align: center;
            margin-bottom: 40px;
            transition: all 0.3s ease;
            cursor: pointer;
            font-weight: 400;
        }
        .new-file-section {
            cursor: default;
        }
        .new-file-section input {
            margin: 10px;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 6px;
            width: 300px;
            font-size: 16px;
        }
        .new-file-section .hint {
            font-size: 0.95em;
            color: #555;
            margin: 12px 0 8px 0;
        }
        .new-file-section .preview {
            font-family: 'Courier New', monospace;
            font-size: 1.1em;
            color: #17a2b8;
            font-weight: 600;
            background: #f0f8ff;
            padding: 8px 12px;
            border-radius: 6px;
            display: inline-block;
            margin-top: 8px;
        }
        .upload-section:hover {
            background: #f3f4f6;
            border-color: #ccc;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        .upload-section.dragover {
            background: #e3f2fd;
            border-color: #007bff;
            box-shadow: 0 4px 12px rgba(0,123,255,0.15);
        }
        .upload-section h3, .new-file-section h3 {
            color: #333;
            margin: 0 0 15px 0;
            font-size: 1.4em;
            font-weight: 400;
        }
        #fileInput {
            display: none;
        }

        /* ——— NEW CONSISTENT BUTTON STYLE (same as Go!/Log out) ——— */
        .select-btn,
        .upload-btn,
        .download-btn,
        .edit-btn,
        .create-btn,
        .save-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 4px 4px;
            background: #ffffff;
            color: #17a2b8;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 400;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            text-decoration: none;
            margin: 5px;
        }

        .select-btn:hover:not(:disabled),
        .upload-btn:hover:not(:disabled),
        .download-btn:hover,
        .edit-btn:hover:not(:disabled),
        .create-btn:hover:not(:disabled),
        .save-btn:hover:not(:disabled) {
            background: #17a2b8;
            color: white;
            border-color: #17a2b8;
            box-shadow: 0 4px 12px rgba(23,162,184,0.2);
            transform: translateY(-2px);
        }

        .select-btn:disabled,
        .upload-btn:disabled,
        .edit-btn:disabled,
        .save-btn:disabled {
            background: #f8f9fa;
            color: #6c757d;
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
        }
        /* ————————————————————————————————————————————— */

        .file-info {
            margin-top: 15px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            border: 1px solid #ddd;
            border-left: 4px solid #007bff;
            display: none;
        }
        .file-list-section {
            margin-bottom: 40px;
        }
        .section-title {
            font-size: 1.5em;
            color: #333;
            margin: 1.8em 0 0.8em;
            font-weight: 400;
        }
        .file-list {
            max-height: 400px;
            overflow-y: auto;
            border: 1px solid #ddd;
            border-radius: 8px;
            background: #ffffff;
            box-shadow: 0 2px 4px rgba(0,0,0,0.03);
        }
        .file-list::-webkit-scrollbar {
            width: 8px;
        }
        .file-list::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }
        .file-list::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 4px;
        }
        .file-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px;
            border-bottom: 1px solid #eee;
            transition: all 0.2s ease;
            background: #ffffff;
        }
        .file-item:hover {
            background: #f3f4f6;
        }
        .file-item:last-child {
            border-bottom: none;
        }
        .file-info-left {
            flex: 1;
        }
        .file-name {
            font-weight: 400;
            color: #222222;
            font-size: 16px;
            margin-bottom: 4px;
            word-break: break-all;
        }
        .file-details {
            color: #666;
            font-size: 14px;
            display: flex;
            gap: 15px;
        }
        .file-actions {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        .delete-btn {
            background: #dc3545;
            color: white;
            border: none;
            padding: 4px 4px;
            border-radius: 4px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 2px 4px rgba(220,53,69,0.2);
            margin: 0 5px;
        }
        .delete-btn:hover {
            background: #c82333;
            transform: translateY(-1px);
            box-shadow: 0 3px 8px rgba(220,53,69,0.3);
        }
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #666;
            background: #ffffff;
        }
        .empty-state svg {
            width: 80px;
            height: 80px;
            opacity: 0.5;
            margin-bottom: 20px;
        }

        /* EDITOR SECTION */
        .editor-section {
            margin-top: 40px;
            display: none;
        }
        .editor-section.show {
            display: block;
        }
        .editor-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid #17a2b8;
        }
        .editor-title {
            font-size: 1.4em;
            color: #222;
            font-weight: 400;
            margin: 0;
        }
        .editor-textarea {
            width: 100%;
            height: 400px;
            padding: 20px;
            border: 2px solid #ddd;
            border-radius: 8px;
            font-family: 'Courier New', monospace;
            font-size: 14px;
            line-height: 1.5;
            resize: vertical;
            box-sizing: border-box;
        }
        .editor-textarea:focus {
            outline: none;
            border-color: #17a2b8;
            box-shadow: 0 0 0 3px rgba(23,162,184,0.1);
        }

        .status-message {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 15px 20px;
            border-radius: 8px;
            color: white;
            font-weight: 400;
            transform: translateX(400px);
            transition: all 0.3s ease;
            z-index: 1000;
            max-width: 350px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        .status-success {
            background: #28a745;
        }
        .status-error {
            background: #dc3545;
        }
        .status-message.show {
            transform: translateX(0);
        }
        body {
            font-family: Arial, sans-serif;
            background: #f9f9f9;
            line-height: 1.7;
            color: #333;
            margin: 0;
            padding-top: 0;
        }

        .page-container {
            max-width: 1200px;
            margin: 120px auto 40px auto;
            padding: 0 20px 40px 20px;
        }