/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ АНКЕТЫ ===== */

:root {
    --green: #7FB285;
    --amber: #FFB347;
    --turquoise: #8CC9C9;
    --terracotta: #C97C5D;
    --white: #FFF9F9;
    --dark: #5C4E4E;
    --pastel-green: #BAFFC9;
    --pastel-blue: #BAE1FF;
    --pastel-yellow: #FFF5BA;
    --font-title: 'Oranienbaum', serif;
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    background: linear-gradient(135deg, #FFF9F9 0%, #FFF0F5 100%);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: #C97C5D;
    font-weight: 400;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 20px;
    flex: 1;
}

/* Карточка формы */
.form-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.5);
    margin-bottom: 2rem;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid rgba(255, 179, 71, 0.3);
    padding-bottom: 1.5rem;
}

.form-header h1 {
    font-size: 2.8rem;
    color: #C97C5D;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #8B6B6B;
    font-size: 1.1rem;
}

/* Секции формы */
.form-section {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-section h2 {
    font-size: 1.6rem;
    color: #C97C5D;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h2:after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--pastel-green), var(--pastel-blue));
}

/* Группы полей */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #6B4F4F;
}

label .required {
    color: #C97C5D;
    margin-left: 3px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid rgba(255, 179, 71, 0.2);
    border-radius: 15px;
    font-family: var(--font-main);
    background: white;
    transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #FFB347;
    box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.1);
}

/* Радио кнопки и чекбоксы */
.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-item,
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-item input,
.checkbox-item input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Кнопки */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btn-primary {
    background: linear-gradient(135deg, #BAFFC9, #BAE1FF);
    color: #6B4F4F;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #BAE1FF, #E0BAFF);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background: rgba(255,255,255,0.8);
    color: #6B4F4F;
    border: 2px solid #FFB347;
}

.btn-secondary:hover {
    background: #FFB347;
    color: white;
}

/* Информационный блок */
.info-block {
    background: rgba(255, 243, 205, 0.5);
    border-left: 4px solid #FFB347;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 15px 15px 0;
}

.info-block ul {
    margin-left: 1.5rem;
}

/* Уведомления */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #BAFFC9;
    color: #6B4F4F;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .form-card {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-header h1 {
        font-size: 2rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}