body {
            font-family: Arial, sans-serif;
            margin: 0;
            background: #f9f9f9;
            line-height: 1.7;
            color: #333;
            padding-top: 60px;
        }

        .page-container {
            max-width: 1200px;
            margin: 0 auto 0px auto;
            padding: 0 20px 40px 20px;
        }

        .card {
            background: white;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            border-radius: 0.5rem;
            padding: 2rem;
            margin-bottom: 2rem;
        }

        h1 {
            font-size: 2.25rem;
            font-weight: normal;
            color: #111827;
            margin-bottom: 1rem;
        }

        .error {
            color: #dc2626;
            font-weight: bold;
        }

        label {
            display: block;
            margin-top: 1.25rem;
            font-weight: 500;
            color: #374151;
        }

        .checkbox-label {
            font-weight: normal;
            cursor: pointer;
            color: #374151;
        }

        .note {
            font-size: 0.875rem;
            color: #6b7280;
        }

        input[type="text"],
        textarea {
            width: 100%;
            padding: 0.75rem;
            margin-top: 0.5rem;
            border: 1px solid #d1d5db;
            border-radius: 0.5rem;
            box-sizing: border-box;
            font-family: monospace;
            font-size: 1rem;
        }

        textarea {
            min-height: 150px;
            resize: vertical;
        }

        .button-row {
            display: flex;
            gap: 15px;
            margin-top: 2rem;
            align-items: center;
        }

        button[type="submit"],
        .html-btn {
            padding: 1rem 2rem;
            font-size: 1.125rem;
            background: #17a2b8;
            color: white;
            border: 1px solid #ddd;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        button[type="submit"]:hover,
        .html-btn:hover {
            background: #138496;
            border-color: #17a2b8;
            box-shadow: 0 4px 12px rgba(23,162,184,0.2);
            transform: translateY(-2px);
        }

        .html-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }

        pre {
            background: white;
            padding: 1.5rem;
            border: 1px solid #e5e7eb;
            border-radius: 0.5rem;
            white-space: pre-wrap;
            margin-top: 2.5rem;
            font-size: 0.975rem;
        }

        /* HTML Save Modal Styles */
        .html-save-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
        }
        .html-save-modal-content {
            background-color: #fff;
            margin: 10% auto;
            padding: 30px;
            border-radius: 10px;
            width: 90%;
            max-width: 500px;
            max-height: 80vh;
            overflow-y: auto;
        }
        .html-save-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        .html-save-modal-close {
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            color: #999;
        }
        .html-save-modal-close:hover {
            color: #000;
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
        }
        .form-group input {
            width: 100%;
            padding: 12px;
            border: 2px solid #ddd;
            border-radius: 6px;
            font-size: 16px;
            box-sizing: border-box;
        }
        .form-group input:focus {
            outline: none;
            border-color: #007bff;
        }
        .folder-select {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 8px;
        }
        .folder-option {
            padding: 12px;
            border: 2px solid #ddd;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
            background: #f8f9fa;
            text-align: center;
            font-size: 14px;
        }
        .folder-option:hover {
            border-color: #007bff;
            background: #e7f3ff;
        }
        .folder-option.selected {
            border-color: #17a2b8;
            background: #17a2b8;
            color: white;
        }
        .modal-buttons {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            margin-top: 20px;
        }
        .btn-save {
            background: #28a745;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
        }
        .btn-save:disabled {
            background: #ccc;
            cursor: not-allowed;
        }
        .btn-cancel {
            background: #6c757d;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
        }