

/* Start:/local/templates/main/components/bitrix/main.register/.default/style.css?17829760094473*/
/* ГАРАНТИРОВАННОЕ СКРЫТИЕ ДЛЯ КНОПОК И ДРУГИХ ЭЛЕМЕНТОВ */
.d-none {
    display: none !important;
}

.errortext {
    color: #a94442;
}

/* Оформление карточки регистрации Bento Box */
.recovery-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #f1f5f9 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04) !important;
    padding: 40px !important;
    margin-top: 40px;
}

/* Красивые поля ввода */
.recovery-card .form-control,
.form-select {
    display: block;
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #334155;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    transition: all 0.2s ease;
}
.recovery-card .form-control:hover,
.form-select:hover {
    background-color: #ffffff;
    border-color: #cbd5e1;
}
.recovery-card .form-control:focus,
.form-select:focus {
    border-color: #49698E;
    box-shadow: 0 0 0 3px rgba(73, 105, 142, 0.15) !important;
    background-color: #ffffff;
    outline: none;
}

/* Современный сегментированный переключатель ролей (Bento Tabs) */
.role-tabs-container {
    background-color: #f1f5f9;
    border-radius: 14px;
    padding: 4px;
    display: inline-flex;
    width: 100%;
    max-width: 680px;
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
}

/* Стиль отдельной вкладки роли */
.btn-role-tab {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    white-space: nowrap;
    line-height: 1.3;
    margin: 0 !important;
}
.btn-role-tab:hover {
    color: #334155;
}

/* Стиль вкладки при выборе */
.check:checked + .btn-role-tab {
    background-color: #ffffff;
    color: #49698E;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* СБРОС СТАРЫХ СТИЛЕЙ ТАБЛИЦ И ПРИНУДИТЕЛЬНЫЙ FLEXBOX ДЛЯ ТЕЛЕФОНА */
.recovery-card .input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
}

/* Префикс "+" */
.recovery-card .input-group-text {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-right: none !important;
    color: #64748b !important;
    font-size: 15px !important;
    font-weight: bold !important;
    padding: 12px 18px !important; /* Строго равен паддингу инпута */
    border-radius: 12px 0 0 12px !important;
    height: auto !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
}

/* Поле ввода номера */
.recovery-card .input-group .form-control {
    flex: 1 1 auto !important;
    width: 1% !important;
    border-left: none !important;
    border-radius: 0 12px 12px 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    height: auto !important;
}

/* Выравнивание по центру на мобильных устройствах */
@media (max-width: 767px) {
    .recovery-card {
        padding: 24px 16px !important;
    }
    .recovery-card .row {
        text-align: center;
        justify-content: center;
    }
    .recovery-card .col-sm-4,
    .recovery-card .col-md-3 {
        margin-bottom: 6px;
        text-align: center !important;
    }
    .form-control, .form-select {
        text-align: center;
    }
    .reg {
        width: 100% !important;
        margin-bottom: 12px;
    }
    .recovery-card .btn-modern {
        width: 100% !important;
    }
    
    /* Адаптация табов под узкие экраны мобильных */
    .role-tabs-container {
        flex-direction: column;
        gap: 4px;
        border-radius: 16px;
    }
    .btn-role-tab {
        width: 100%;
        white-space: normal;
        padding: 10px;
    }
}
/* End */
/* /local/templates/main/components/bitrix/main.register/.default/style.css?17829760094473 */
