

/* Start:/local/templates/zolotoenasledie/components/bitrix/form.result.new/zayvka/style.css?17673558374297*/
/* Общие стили формы */
.borderForm {
    max-width: 640px;
    margin: 2rem auto;
    padding: 1.5rem;
    border: 2px solid #4271a6;
    border-radius: 16px 0;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(66, 113, 166, 0.1);
}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.headingForm {
    margin: 0;
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.imgForm {
    height: 48px;
    width: auto;
}

/* Поле ввода */
.formDivInput {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 1rem;
    font-weight: 500;
    color: #34495e;
}

.form-field-wrapper {
    position: relative;
}

.inputtext {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.inputtext:focus {
    outline: none;
    border-color: #4271a6;
    box-shadow: 0 0 0 3px rgba(66, 113, 166, 0.15);
}

.inputtext::placeholder {
    color: #9ca3af;
}

/* Ошибки */
.formDivInput--error .inputtext {
    border-color: #e53e3e;
    background-color: #fff5f5;
}

.form-error-message {
    display: block;
    color: #e53e3e;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Капча */
.captcha-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.captcha-image {
    height: 44px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.captcha-wrapper .inputtext {
    flex: 1;
    min-width: 180px;
}

/* Чекбокс согласия */
.formDivInput--checkbox .checkbox-label {
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    padding-top: 12px;
}

.checkbox-label a {
    color: #4271a6;
    text-decoration: underline;
}

.checkbox-custom {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #4271a6;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    background-color: #4271a6;
}

.checkbox-label input[type="checkbox"]:focus + .checkbox-custom {
    box-shadow: 0 0 0 3px rgba(66, 113, 166, 0.2);
}

/* Кнопка */
.buttonForm {
    text-align: center;
    margin-top: 0.5rem;
}

.btnForm {
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #F8F6F2;
    background-color: #4271A6;
    border: none;
    border-radius: 12px 0;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btnForm:hover:not(:disabled) {
    background-color: #355d8a;
}

.btnForm:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Подпись обязательных полей */
.textFormRequired {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1rem;
}

.form-required {
    color: #e53e3e;
}

/* Алерты */
.form-alert {
    max-width: 640px;
    margin: 1.5rem auto;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
}

.form-alert--success {
    background-color: #e6f7ee;
    border: 1px solid #4caf50;
    color: #2e7d32;
}

.form-alert--error {
    background-color: #fdf2f2;
    border: 1px solid #f44336;
    color: #c62828;
}

.form-alert ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.form-alert li {
    margin-top: 0.25rem;
}

/* Адаптив */
@media (max-width: 600px) {
    .borderForm {
        padding: 1rem;
    }

    .form-header {
        flex-direction: column;
        text-align: center;
    }

    .imgForm {
        height: 40px;
    }

    .headingForm {
        font-size: 1.375rem;
    }

    .captcha-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .captcha-image {
        width: 100%;
        height: auto;
    }
}
/* End */
/* /local/templates/zolotoenasledie/components/bitrix/form.result.new/zayvka/style.css?17673558374297 */
