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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.header h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 0.5rem;
}

.header h1 {
    font-size: 2.5rem;
    color: #2563eb;
    font-weight: 700;
}

.form-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.form-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.form-item.full-width {
    flex: 1 1 100%;
}

label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #2563eb;
}

input:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.btn-submit {
    background: #2563eb;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    margin-left: auto;
    display: block;
}

.btn-submit:hover {
    background: #1d4ed8;
}

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

.alert {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
}

.alert.success {
    background: #d1fae5;
    color: #065f46;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
}

.alert.hidden {
    display: none;
}

footer {
    background: white;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    text-align: center;
}

@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }
    
    .form-item {
        min-width: 100%;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
}
