

/* Start:/local/components/custom/unified.auth/templates/integrated/style.css?17721682685595*/
/* Упрощённые стили для интеграции в существующий дизайн сайта */

/* Враппер - убираем фон и минимальные отступы */
.b1-auth-wrapper {
    padding: 40px 20px;
}

/* Карточка без тени и градиента */
.b1-auth-card {
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 40px;
    max-width: 500px;
    margin: 0 auto;
}

/* Заголовок */
.b1-auth-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 24px 0;
    text-align: center;
}

/* Форма */
.b1-auth-form {
    position: relative;
}

/* Группа полей */
.b1-form-group {
    margin-bottom: 20px;
}

.b1-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* Поля ввода */
.b1-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.b1-input:focus {
    outline: none;
    border-color: #80b366;
}

.b1-input::placeholder {
    color: #999;
}

/* Поле для кода SMS */
.b1-input-code {
    text-align: center;
    font-size: 24px;
    letter-spacing: 8px;
    font-weight: 600;
}

/* Подсказка */
.b1-hint {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

/* Чекбокс */
.b1-checkbox-group {
    margin-top: 16px;
    margin-bottom: 12px;
}

.b1-checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
}

.b1-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.b1-checkbox span {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* B2B чекбокс */
.b2b-checkbox {
    background: #f8f9ff;
    border: 1px solid #e0e4ff;
    border-radius: 6px;
    padding: 12px;
}

.b2b-checkbox:hover {
    border-color: #80b366;
}

.b2b-benefits {
    display: block;
    font-size: 12px;
    color: #80b366;
    font-weight: 400;
    margin-top: 4px;
}

/* Согласия */
.b1-agreements {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.b1-agreements small {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    display: block;
    text-align: center;
}

.b1-agreements a {
    color: #80b366;
    text-decoration: none;
}

.b1-agreements a:hover {
    text-decoration: underline;
}

/* Кнопки */
.b1-btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

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

.b1-btn-primary {
    background: #80b366;
    color: white;
}

.b1-btn-primary:hover:not(:disabled) {
    background: #5568d3;
}

.b1-btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.b1-btn-secondary:hover:not(:disabled) {
    background: #e8e8e8;
}

/* Ссылка */
.b1-link {
    display: block;
    text-align: center;
    color: #80b366;
    text-decoration: none;
    font-size: 14px;
    margin-top: 12px;
}

.b1-link:hover {
    text-decoration: underline;
}

/* Назад */
.b1-back-btn {
    display: inline-block;
    color: #80b366;
    font-size: 14px;
    cursor: pointer;
    margin-bottom: 16px;
}

.b1-back-btn:hover {
    text-decoration: underline;
}

/* Информация */
.b1-auth-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.b1-auth-info strong {
    color: #333;
}

/* Сообщения */
.b1-auth-error,
.b1-auth-success {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.b1-auth-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.b1-auth-success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

/* Лоадер */
.b1-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    z-index: 10;
}

.b1-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: #80b366;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.b1-loader p {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
}

/* Скрытые элементы */
.hidden {
    display: none !important;
}

/* Шаги */
.b1-auth-step {
    animation: fadeIn 0.3s ease;
}

/* Футер */
.b1-auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #999;
}

/* Анимации */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .b1-auth-card {
        padding: 30px 20px;
    }
    
    .b1-auth-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .b1-auth-wrapper {
        padding: 20px 10px;
    }
    
    .b1-auth-card {
        padding: 24px 16px;
    }
}

/* End */
/* /local/components/custom/unified.auth/templates/integrated/style.css?17721682685595 */
