

/* Start:/local/components/argo/cons.reg.oneclick.v3/templates/bootstrap2/style.css?177866880531020*/
/* ========================================
   ARGO Registration Form - Modern Design
   ======================================== */

/* === Основные переменные === */
:root {
    --argo-primary: #008882;
    --argo-primary-dark: #006b66;
    --argo-danger: #CC3300;
    --argo-success: #008882;
    --argo-info: #348fe5;
    --argo-light: #f8f9fa;
    --argo-dark: #333;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* === Общие стили === */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--argo-dark);
}

/* === Основная форма === */
.newuser_form {
    padding: 0;
    max-width: 900px;
    margin: 0 auto;
}

/* Резерв под скроллбар на широких экранах; на узких overlay-скролл может давать лишний отступ — см. media ниже */
#step-root {
    scrollbar-gutter: stable;
}

@media (max-width: 991.98px) {
    #step-root {
        scrollbar-gutter: auto;
    }
}

/* Центрирование форм с полями ввода */
#step-root .container {
    display: flex;
    align-items: center;
    min-height: 70vh;
    justify-content: center;
}

#step-root .container .row {
    width: 100%;
    display: flex;
    justify-content: center;
}

.welcome-simple-card,
.confirmation-card,
.registration-complete-card {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
}

/* === Карточка приглашения === */
.welcome-card {
    background: linear-gradient(135deg, #008882 0%, #006b66 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.welcome-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.welcome-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.greeting-sponsor {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid white;
}

.greeting-sponsor strong {
    font-size: 18px;
    display: block;
    margin-top: 10px;
}

/* === Карточка формы === */
.form-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.form-card h3 {
    color: var(--argo-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--argo-primary);
    display: inline-block;
}

.form-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    display: block;
}

/* === Информация о спонсоре === */
.sponsor-info-badge {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    border: 2px solid var(--argo-primary);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 14px;
}

.sponsor-info-badge strong {
    color: var(--argo-primary);
    font-size: 16px;
}

/* === Группы полей формы === */
.form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

/* Специальный контейнер для выпадающего списка регионов */
.regions-container {
    position: relative;
    z-index: 10;
}

.regions-dropdown-wrapper {
    position: relative;
    z-index: 10;
}

#regions {
    position: relative;
    z-index: 10;
}

/* Создаем отдельный stacking context для выпадающих списков */
.phone-group {
    position: relative;
    z-index: 10;
}

.regions-group {
    position: relative;
    z-index: 10;
}

/* Понижаем z-index для всех последующих элементов */
.phone-group~.form-group,
.regions-group~.form-group {
    position: relative;
    z-index: 1;
}

/* Специально для полей даты рождения */
.phone-group~.form-group:has(.birthday-selects),
.regions-group~.form-group:has(.birthday-selects) {
    z-index: 1;
}

.phone-group~.form-group:has(.birthday-selects) .birthday-selects,
.regions-group~.form-group:has(.birthday-selects) .birthday-selects {
    z-index: 1;
}

.phone-group~.form-group:has(.birthday-selects) .birthday-selects select,
.regions-group~.form-group:has(.birthday-selects) .birthday-selects select {
    z-index: 1;
}

/* Специально для капчи */
.phone-group~.form-group:has(.captcha-wrapper),
.regions-group~.form-group:has(.captcha-wrapper) {
    z-index: 1;
}

.phone-group~.form-group:has(.captcha-wrapper) .captcha-wrapper,
.regions-group~.form-group:has(.captcha-wrapper) .captcha-wrapper {
    z-index: 1;
}

.phone-group~.form-group:has(.captcha-wrapper) .captcha-wrapper input,
.phone-group~.form-group:has(.captcha-wrapper) .captcha-wrapper img,
.regions-group~.form-group:has(.captcha-wrapper) .captcha-wrapper input,
.regions-group~.form-group:has(.captcha-wrapper) .captcha-wrapper img {
    z-index: 1;
}

.form-group label {
    font-weight: 600;
    color: var(--argo-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group label i {
    margin-right: 8px;
    color: var(--argo-primary);
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    height: auto;
}

.form-control:focus {
    border-color: var(--argo-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 136, 130, 0.25);
}

/* Стили для валидных полей применяются только через классы is-valid */

.form-control::placeholder {
    color: #aaa;
}

/* === Input с иконками === */
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 10;
}

.input-with-icon .form-control {
    padding-left: 45px;
}

/* === Телефонный виджет === */
.phone-input-wrapper {
    display: flex;
    align-items: center;
    min-width: 0;
    width: 100%;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.phone-input-wrapper:focus-within {
    border-color: var(--argo-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 136, 130, 0.25);
}

/* Валидное состояние поля телефона - только после валидации */
.form-validated .phone-input-wrapper.is-valid {
    border-color: var(--argo-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 136, 130, 0.25) !important;
}

.form-validated .phone-input-wrapper.is-valid .country-selector {
    border-right-color: var(--argo-primary) !important;
    background: linear-gradient(to bottom, #f0fdfa, #ecfdf5) !important;
}

/* Невалидное состояние поля телефона - только после валидации */
.form-validated .phone-input-wrapper.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-validated .phone-input-wrapper.is-invalid .country-selector {
    border-right-color: #dc3545 !important;
    background: linear-gradient(to bottom, #fff5f5, #ffeaea) !important;
}

/* Позиционирование сообщения об ошибке для поля телефона */
.phone-group .custom-error-message {
    margin-left: 0 !important;
    margin-top: 8px !important;
    text-align: left;
    width: 100%;
    max-width: none;
}

/* Скрываем стандартные сообщения браузера */
input::-webkit-validation-bubble-message,
input::-webkit-validation-bubble-text-block,
input::-webkit-validation-bubble-arrow,
input::-webkit-validation-bubble-arrow-clipper {
    display: none !important;
}

/* Скрываем стандартные сообщения для всех полей */
input:invalid {
    box-shadow: none !important;
}

input:invalid:focus {
    box-shadow: none !important;
}

.country-selector {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-right: 2px solid #e0e0e0;
    background: linear-gradient(to bottom, #fafafa, #f5f5f5);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    z-index: 10;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.country-selector:hover {
    background: linear-gradient(to bottom, #f5f5f5, #efefef);
}

.country-selector:active {
    background: #e8e8e8;
}

.country-selector-arrow {
    margin-left: 8px;
    color: #666;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.country-selector.active .country-selector-arrow {
    transform: rotate(180deg);
}

.phone-input-field {
    flex: 1 1 0;
    min-width: 0;
    border: none;
    padding: 12px 15px;
    outline: none;
    background: transparent;
    font-size: 14px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.phone-input-info {
    padding: 12px 15px;
    color: var(--argo-info);
    cursor: help;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.phone-input-info i {
    font-size: 18px;
}

.flag-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 10px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: none;
    box-shadow: none;
}

.flag-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.flag-image {
    display: block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    object-fit: cover;
}

#country-dropdown {
    display: none;
    position: absolute;
    z-index: 10;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    width: 100%;
    margin-top: 5px;
    box-shadow: var(--shadow-lg);
}

#country-dropdown div {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    transition: background 0.2s ease;
}

#country-dropdown div:hover {
    background: linear-gradient(to right, #f8f9fa, #fff);
    border-left: 3px solid var(--argo-primary);
}

#country-dropdown div:last-child {
    border-bottom: none;
}

#country-dropdown img {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

/* === Выбор даты рождения === */
.birthday-selects {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1 !important;
}

.birthday-selects select {
    z-index: 1 !important;
    position: relative;
}

.birthday-select-day {
    flex: 0 0 100px;
}

.birthday-select-month,
.birthday-select-year {
    flex: 1;
}

.select-inline {
    display: inline-block;
}

/* === Капча === */
.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    border: 2px solid #008882;
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 4px 12px rgba(0, 136, 130, 0.15);
    transition: all 0.3s ease;
}

.captcha-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 130, 0.25);
    border-color: #006b66;
}

.captcha-wrapper input {
    z-index: 1;
    position: relative;
    border: 2px solid #008882;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #006b66;
    background: white;
    transition: all 0.3s ease;
}

.captcha-wrapper input:focus {
    border-color: #006b66;
    box-shadow: 0 0 0 0.2rem rgba(0, 136, 130, 0.25);
    outline: none;
}

.captcha-wrapper input::placeholder {
    color: #66b3b0;
    font-weight: 500;
}

.captcha-wrapper img {
    z-index: 1;
    position: relative;
    border-radius: 8px;
    border: 2px solid #008882;
    box-shadow: 0 2px 8px rgba(0, 136, 130, 0.2);
    transition: all 0.3s ease;
}

.captcha-wrapper img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 136, 130, 0.3);
}

/* Стили для лейбла капчи */
.captcha-wrapper::before {
    content: "🔒 Код безопасности";
    position: absolute;
    top: -8px;
    left: 15px;
    background: #008882;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0, 136, 130, 0.3);
}

/* === Секция согласия === */
.agreement-section {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--argo-primary);
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 136, 130, 0.1);
    border: 1px solid rgba(0, 136, 130, 0.2);
}

.agreement-text {
    font-size: 13px;
    color: #006b66;
    line-height: 1.6;
    font-weight: 500;
}

.agreement-text i {
    color: var(--argo-primary);
    margin-right: 8px;
    font-size: 16px;
}

.agreement-text .text-danger {
    color: var(--argo-primary-dark) !important;
    font-weight: 600;
}

/* === Чекбоксы === */
.checkbox-custom {
    background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 100%);
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 2px solid rgba(0, 136, 130, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 136, 130, 0.1);
}

.checkbox-custom:hover {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: var(--argo-primary);
    box-shadow: 0 4px 15px rgba(0, 136, 130, 0.2);
    transform: translateY(-1px);
}

.checkbox-custom:focus-within {
    border-color: var(--argo-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 136, 130, 0.25);
    outline: none;
}

.checkbox-custom label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #006b66;
}

.checkbox-custom input[type="checkbox"] {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--argo-primary);
    outline: none;
}

.checkbox-custom input[type="checkbox"]:focus {
    outline: none;
    box-shadow: none;
}

/* === Кнопки === */
.btn {
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    outline: none !important;
}

.btn:focus,
.btn:active,
.btn:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.btn-success {
    background: linear-gradient(135deg, #008882 0%, #006b66 100%);
    border: 2px solid #008882 !important;
    border-color: #008882 !important;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 136, 130, 0.4);
    outline: none !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #006b66 0%, #005550 100%);
    border: 2px solid #006b66 !important;
    border-color: #006b66 !important;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 136, 130, 0.6);
    transform: translateY(-2px);
    outline: none !important;
}

.btn-success:focus {
    background: linear-gradient(135deg, #008882 0%, #006b66 100%);
    border: 2px solid #008882 !important;
    border-color: #008882 !important;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(0, 136, 130, 0.25);
    outline: none !important;
}

.btn-success:active {
    background: linear-gradient(135deg, #006b66 0%, #005550 100%);
    border: 2px solid #006b66 !important;
    border-color: #006b66 !important;
    color: white;
    outline: none !important;
}

.btn-success:disabled {
    background: linear-gradient(135deg, #008882 0%, #006b66 100%);
    border: 2px solid #008882 !important;
    border-color: #008882 !important;
    color: white;
    opacity: 0.8;
    cursor: not-allowed;
    outline: none !important;
}

.btn-success:disabled:hover {
    background: linear-gradient(135deg, #008882 0%, #006b66 100%);
    border: 2px solid #008882 !important;
    border-color: #008882 !important;
    color: white;
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 136, 130, 0.4);
    outline: none !important;
}

.btn-default {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
}

.btn-default:hover {
    background: linear-gradient(135deg, #5a6268 0%, #495057 100%);
    transform: translateY(-2px);
}

/* === Страница подтверждения === */
.confirmation-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-top: 50px;
}

.confirmation-header {
    text-align: center;
    margin-bottom: 30px;
}

.confirmation-header h2 {
    color: var(--argo-primary);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.confirmation-phone-display {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
}

.confirmation-phone {
    font-size: 24px;
    font-weight: 700;
    color: var(--argo-primary);
    display: block;
    margin: 10px 0;
}

.sms-code-input {
    max-width: 280px;
    margin: 20px auto;
}

.u-code {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--argo-info);
}

.confirmation-timer {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #fff3cd;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #856404;
}

#errorinfo {
    padding: 15px;
    background: #f8d7da;
    border-radius: 8px;
    color: #721c24;
    margin: 20px 0;
    font-weight: 600;
}

/* Чекбоксы согласия (SMS): компактный размер; #step-root + .confirmation-card + модификатор — выше специфичность темы, без !important */
#step-root .confirmation-card .confirmation__consent.confirmation-consent--compact .confirmation__checkbox.form-check.form-check-argo {
    align-items: flex-start;
}

#step-root .confirmation-card .confirmation__consent.confirmation-consent--compact .confirmation__checkbox.form-check.form-check-argo .confirmation__checkbox-input.form-check-input {
    width: 0.875rem;
    height: 0.875rem;
    min-width: 0.875rem;
    min-height: 0.875rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
    box-sizing: border-box;
    border-width: 1px;
}

#step-root .confirmation-card .confirmation__consent.confirmation-consent--compact .confirmation__checkbox.form-check.form-check-argo .confirmation__checkbox-label.form-check-label {
    font-size: 0.8125rem;
    line-height: 1.45;
    font-weight: 500;
    color: var(--argo-dark);
    margin-left: 0.375rem;
}

#step-root .confirmation-card .confirmation__consent.confirmation-consent--compact .confirmation__checkbox.form-check.form-check-argo .confirmation__checkbox-label.form-check-label a {
    color: var(--argo-primary);
    font-weight: 500;
    text-decoration: underline;
}

@media (max-width: 768px) {
    #step-root .confirmation-card .confirmation__consent.confirmation-consent--compact .confirmation__checkbox.form-check.form-check-argo .confirmation__checkbox-input.form-check-input {
        width: 0.8125rem;
        height: 0.8125rem;
        min-width: 0.8125rem;
        min-height: 0.8125rem;
    }

    #step-root .confirmation-card .confirmation__consent.confirmation-consent--compact .confirmation__checkbox.form-check.form-check-argo .confirmation__checkbox-label.form-check-label {
        font-size: 0.75rem;
    }
}

/* === Страница завершения регистрации === */
.registration-complete-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    margin-top: 50px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--argo-success) 0%, var(--argo-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 4px 15px rgba(0, 136, 130, 0.4);
}

.success-icon i {
    color: white;
    font-size: 40px;
}

.registration-complete-card h2 {
    color: var(--argo-success);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.registration-complete-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.b-large {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: var(--argo-primary);
    margin: 15px 0;
    padding: 15px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--argo-primary);
}

.b-large:hover {
    background: var(--argo-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 136, 130, 0.4);
    text-decoration: none;
}

/* === Термины и условия === */
.terms-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    margin-top: 30px;
}

.terms-card h3 {
    color: var(--argo-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.body_text {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 2px solid #e0e0e0;
}

.body_text::-webkit-scrollbar {
    width: 10px;
}

.body_text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.body_text::-webkit-scrollbar-thumb {
    background: var(--argo-primary);
    border-radius: 10px;
}

.body_text::-webkit-scrollbar-thumb:hover {
    background: var(--argo-primary-dark);
}

.terms-card .btn-success {
    min-width: 300px;
}

.body_text ol {
    padding-left: 20px;
}

.body_text li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.ol-cyrilic-type {
    list-style-type: none;
    padding-left: 0;
}

.ol-cyrilic-type li {
    position: relative;
    padding-left: 35px;
}

.ol-cyrilic-type li:nth-child(1)::before {
    content: 'а)';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.ol-cyrilic-type li:nth-child(2)::before {
    content: 'б)';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.ol-cyrilic-type li:nth-child(3)::before {
    content: 'в)';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.ol-cyrilic-type li:nth-child(4)::before {
    content: 'г)';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.ol-cyrilic-type li:nth-child(5)::before {
    content: 'д)';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.ol-cyrilic-type li:nth-child(6)::before {
    content: 'е)';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.ol-cyrilic-type li:nth-child(7)::before {
    content: 'ж)';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.ol-cyrilic-type li:nth-child(8)::before {
    content: 'з)';
    position: absolute;
    left: 0;
    font-weight: 700;
}

/* === MX-валидация email === */
[data-mx-checking="1"] {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="8" cy="8" r="7" stroke="%23adb5bd" stroke-width="2" fill="none"/><path d="M15 8a7 7 0 0 1-7 7" stroke="%23348fe5" stroke-width="2" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

/* Стили валидации применяются только после попытки валидации */
.form-validated .form-control.is-invalid {
    border-color: #dc3545;
    background: #fff5f5;
}

.form-validated .form-control.is-valid {
    border-color: var(--argo-success);
}

.has-error .form-control {
    border-color: #dc3545;
    background: #fff5f5;
}

/* === Стили для сообщений об ошибках валидации === */

/* При первой загрузке пустые поля выглядят нормально */
input:invalid,
select:invalid,
textarea:invalid {
    border-color: #e0e0e0;
    background: white;
    box-shadow: none;
}

input:invalid:focus,
select:invalid:focus,
textarea:invalid:focus {
    border-color: var(--argo-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 136, 130, 0.25);
    outline: none !important;
}

/* Стили для невалидных полей применяются только через классы is-invalid */

/* Стили для сообщений об ошибках (Bootstrap стандарт) */
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.invalid-feedback[style*="block"] {
    display: block !important;
}

/* Автоматическое отображение для невалидных полей (Bootstrap стандарт) */
.was-validated .form-control:invalid~.invalid-feedback,
.was-validated .form-select:invalid~.invalid-feedback,
.form-control.is-invalid~.invalid-feedback,
.form-select.is-invalid~.invalid-feedback,
.phone-input-wrapper.is-invalid~.invalid-feedback,
.phone-input-wrapper.is-invalid+.invalid-feedback {
    display: block;
}

/* Специальный стиль для invalid-feedback после phone-input-wrapper */
.col-md-12 .invalid-feedback {
    margin-top: 0.5rem;
}

/* Стиль для invalid-feedback после sms-code-input */
.sms-code-input~.invalid-feedback {
    margin-top: 0.5rem;
    text-align: center;
}

/* Стили для валидных полей */
.valid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #198754;
}

.was-validated .form-control:valid~.valid-feedback,
.was-validated .form-select:valid~.valid-feedback,
.form-control.is-valid~.valid-feedback,
.form-select.is-valid~.valid-feedback {
    display: block;
}

/* Улучшенная прокрутка к полям с ошибками */
.form-group:has(input:invalid),
.form-group:has(select:invalid),
.form-group:has(textarea:invalid) {
    scroll-margin-top: 120px;
}

/* Общий отступ для всех элементов формы при прокрутке */
.form-group,
.form-control,
input,
select,
textarea {
    scroll-margin-top: 120px;
}

.has-success .form-control {
    border-color: var(--argo-success);
}

/* === Утилитарные классы === */
.pointer {
    cursor: pointer;
}

.hidden,
.hidden-block,
.hidden-select {
    display: none;
}

.text-muted {
    color: #6c757d;
}

/* Телефонный блок: вертикальные отступы */
/* Переключатель «Войти по телефону» / «Войти по почте»: одинаковая занимаемая ширина, без прыжка при смене текста */
.phone-login__toggle {
    display: flex;
    justify-content: center;
}

.phone-login__toggle-link {
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    width: 13.5rem;
    max-width: 100%;
}

.phone-login__phone-block .phone-input-wrapper,
.phone-login__email-block .form-control.form-control-argo {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.phone-group {
    margin-top: 12px;
    margin-bottom: 20px;
}

.phone-input-wrapper {
    margin-top: 6px;
}

.phone-group .text-muted {
    margin-top: 6px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-20 {
    margin-top: 20px;
}

/* === Анимации === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-card,
.welcome-card,
.terms-card {
    animation: fadeInUp 0.6s ease-out;
}

.form-group {
    animation: slideInRight 0.4s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) {
    animation-delay: 0.05s;
}

.form-group:nth-child(2) {
    animation-delay: 0.1s;
}

.form-group:nth-child(3) {
    animation-delay: 0.15s;
}

.form-group:nth-child(4) {
    animation-delay: 0.2s;
}

.form-group:nth-child(5) {
    animation-delay: 0.25s;
}

.form-group:nth-child(6) {
    animation-delay: 0.3s;
}

.form-group:nth-child(7) {
    animation-delay: 0.35s;
}

.form-group:nth-child(8) {
    animation-delay: 0.4s;
}

.form-group:nth-child(9) {
    animation-delay: 0.45s;
}

.form-group:nth-child(10) {
    animation-delay: 0.5s;
}

/* === Адаптивность === */
@media (max-width: 768px) {
    .form-card {
        padding: 25px;
    }

    .welcome-card {
        padding: 20px;
    }

    .welcome-card h2 {
        font-size: 22px;
    }

    .birthday-selects {
        flex-direction: column;
    }

    .birthday-select-day,
    .birthday-select-month,
    .birthday-select-year {
        flex: 1;
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}

/* === Перенесенные из template.php inline стили === */

/* Стили для success-icon в confirmation-card */
.confirmation-header .success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.confirmation-header .success-icon i {
    font-size: 30px;
}

/* Скрытие блоков по умолчанию - уже определено через .hidden-block выше */

/* Стили для registration-complete-card */
.registration-complete-card .info-section {
    margin: 30px 0;
}

.registration-complete-card .info-section-top {
    margin-top: 40px;
}

/* Honeypot поле (обрабатывается через PHP переменную, стили здесь для справки) */
input[name="website"] {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Список нескольких ошибок регистрации */
.argo-reg-errors-list {
    padding-left: 1.25rem;
    margin-bottom: 0;
}
/* End */
/* /local/components/argo/cons.reg.oneclick.v3/templates/bootstrap2/style.css?177866880531020 */
