/* Сброс стилей Bootstrap для модалки */
.send-form-modal-dialog {
    max-width: 440px;
    margin: auto;
}
.send-form-modal-content {
    border: none !important;
    border-radius: 12px !important;
    padding: 40px;
    position: relative;
    background: #fff;
}
.send-form-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    opacity: 0.5;
    cursor: pointer;
    z-index: 10;
}
.send-form-close::before {
    /*content: '✕';*/
    font-size: 20px;
    color: #292A2A;
}

/* Заголовок */
.send-form-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    text-align: center;
}
.send-form-title {
    color: #242527;
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    word-wrap: break-word;
}
.send-form-desc {
    color: #242527;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 22.4px;
}

/* Поля */
.send-form-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.form-input-box {
    position: relative;
}
.form-input-box input,
.form-input-box textarea {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    color: #292A2A;
    border: 1px solid #DEE2E3;
    border-radius: 8px;
    outline: none;
    background: #fff;
    font-family: 'Inter', sans-serif;
}
.form-input-box input:focus,
.form-input-box textarea:focus {
    border-color: #00B1BA;
}
.form-input-box input::placeholder {
    color: #878D91;
}

/* Чекбокс */
.send-form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    margin-top: 4px;
}
.send-form-checkbox-label input {
    display: none;
}
.send-form-checkmark {
    min-width: 24px;
    height: 24px;
    background: #fff;
    border: 1px solid #DEE2E3;
    border-radius: 4px;
    position: relative;
    margin-top: -2px;
}
.send-form-checkbox-label input:checked ~ .send-form-checkmark {
    background: #00B1BA;
    border-color: #00B1BA;
}
.send-form-checkbox-label input:checked ~ .send-form-checkmark::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.send-form-checkbox-text {
    color: #878D91;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 18.9px;
}
.send-form-checkbox-text a {
    color: #878D91;
    text-decoration: underline;
}

/* Кнопка отправить */
.send-form-submit-btn {
    width: 100%;
    height: 48px;
    background: #00B1BA;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    margin-top: 4px;
    transition: background 0.2s;
}
.send-form-submit-btn:hover {
    background: #00969d;
}

/* Блок успешной отправки (скрыт по умолчанию) */
.send-form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    text-align: center;
}
.success-title {
    color: #242527;
    font-size: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}
.success-text {
    color: #242527;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 22.4px;
}
.success-btn {
    width: 100%;
    height: 48px;
    background: #00B1BA;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
}
.success-btn:hover {
    background: #00969d;
}

.fos-extra-field {display:none;}

/* Адаптив */
@media (max-width: 480px) {
    .send-form-modal-content {
        padding: 24px;
    }
    .send-form-title, .success-title {
        font-size: 24px;
    }
}