/* Стили для формы обратной связи */

.feedback-section {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 149, 92, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 149, 92, 0.1);
    position: relative;
    background-color: #fff;
}

.feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #00955c;
}

.feedback-header {
    padding: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.feedback-header h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #00955c;
    font-weight: 600;
}

.feedback-header p {
    font-size: 16px;
    color: #666;
}

.feedback-form {
    padding: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: #fafafa;
}

/* Дополнительные стили для полей имени и темы сообщения */
#name, #email, #subject {
    border-radius: 8px;
}

.form-control:focus {
    border-color: #00955c;
    box-shadow: 0 0 0 3px rgba(0, 149, 92, 0.1);
    outline: none;
    background-color: #fff;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.captcha-group {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px dashed #00955c;
    background-color: rgba(0, 149, 92, 0.03);
}

.captcha-question {
    font-weight: 500;
    margin-right: 15px;
    color: #333;
    cursor: pointer;
}

.captcha-question:hover {
    color: #00955c;
}

.captcha-input {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-align: center;
    font-size: 16px;
}

.captcha-input:focus {
    border-color: #00955c;
    outline: none;
}

.form-check {
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
}

.form-check-input {
    position: absolute;
    left: 0;
    top: 2px;
    margin: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.form-check-label {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 0;
    padding-left: 28px;
}

.form-check-label a {
    color: #00955c;
    text-decoration: underline;
}

.submit-btn {
    display: block;
    width: 100%;
    background-color: #00955c;
    color: white;
    border: none;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0, 149, 92, 0.2);
}

.submit-btn:hover {
    background-color: #007a4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 149, 92, 0.25);
}

.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.feedback-message {
    margin: 20px 0;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
}

.success-message {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .feedback-header h2 {
        font-size: 22px;
    }
    
    .feedback-form {
        padding: 20px;
    }
    
    .captcha-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .captcha-question {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .feedback-header {
        padding: 20px;
    }
    
    .feedback-header h2 {
        font-size: 20px;
    }
    
    .feedback-header p {
        font-size: 14px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-control {
        padding: 12px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 14px;
        font-size: 16px;
    }
}