* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: white;
    padding: 32px 40px;
    border-bottom: 3px solid #003d7a;
}

.header h1 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 8px;
}

.disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 16px 40px;
    font-size: 14px;
    color: #856404;
}

.disclaimer strong {
    font-weight: 600;
}

.form-content {
    padding: 40px;
}

.info-box {
    background: #e8f4fd;
    border: 1px solid #b3d9f2;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 32px;
}

.info-box h3 {
    color: #0066cc;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

.info-box ul {
    margin-left: 20px;
}

.info-box li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

.required-indicator {
    color: #d32f2f;
    font-weight: bold;
}

.section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e0e0e0;
}

.section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f2ff;
}

.section-helper {
    margin-bottom: 16px;
    margin-top: -12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

.form-row .full-width {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #555;
    font-size: 14px;
}

.required::after {
    content: " *";
    color: #d32f2f;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.hidden {
    display: none;
}

.helper-text {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    font-style: italic;
}

.data-protection-notice {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 32px;
}

.data-protection-notice h4 {
    color: #333;
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.data-protection-notice p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.submit-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid #e0e0e0;
    text-align: right;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.btn-submit,
.btn-reset {
    padding: 12px 32px;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit {
    background: #0066cc;
    color: white;
}

.btn-submit:hover {
    background: #0052a3;
}

.btn-submit:active {
    background: #003d7a;
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-reset {
    background: #6c757d;
    color: white;
}

.btn-reset:hover {
    background: #5a6268;
}

.btn-reset:active {
    background: #4e555b;
}

.error-message {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #d32f2f;
}

.form-group.error .error-message {
    display: block;
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 20px;
    }

    .form-content {
        padding: 24px;
    }

    .header {
        padding: 24px;
    }

    .header h1 {
        font-size: 24px;
    }

    .submit-section {
        flex-direction: column-reverse;
    }

    .btn-submit,
    .btn-reset {
        width: 100%;
    }
}