
/* Inline стили с рандомными классами 8 символов */
.w3x8f9q2 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.k7p2r5t1 {
    background: #f8f9fa;
    min-height: 100vh;
    color: #333;
}

.a4b6c8d2 {
    flex: 1;
    margin: 0 auto;
    width: 100%;
}

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

body {
    background: #f8f9fa;
    min-height: 100vh;
    color: #333;
    display: flex;
    flex-direction: column;
}

.e9g7h3j5 {
    display: flex;
    flex-direction: column;
}

/* Основной контент */
.main-content {
    flex: 1;
    margin: 0 auto;
    width: 100%;
}

.z1y2x3w4 {
    margin: 0 auto;
    padding: 20px;
}

/* Контейнер авторизации */
.auth-container {
    margin: 0 auto;
    padding: 20px;
}

.q8w7e6r5 {
    background: white;
    padding: 30px;
    width: 100%;
    max-width: 100%;
}

.t5u4i3o2 {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.auth-card {
    background: white;
    padding: 30px;
    width: 100%;
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Заголовок */
.l2m3n4b5 {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.v6c5x4z3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.auth-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.p9o8i7u6 {
    font-size: 14px;
    color: #666;
}

.auth-subtitle {
    font-size: 14px;
    color: #666;
}

/* Табы */
.r4t5y6u7 {
    display: flex;
    gap: 5px;
    margin-bottom: 30px;
}

.s3d2f1g8 {
    background: #f8f9fa;
    padding: 5px;
    border-radius: 10px;
}

.auth-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 5px;
    border-radius: 10px;
}

.h8j9k0l1 {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
}

.i0l1k2j3 {
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
}

.m4n5b6v7 {
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.c2x3z4q5 {
    background: #667eea;
    color: white;
}

.tab-btn.active {
    background: #667eea;
    color: white;
}

.w1e2r3t4 {
    background: #e9ecef;
}

.tab-btn:hover:not(.active) {
    background: #e9ecef;
}

/* Контент табов */
.y5u6i7o8 {
    display: none;
}

.tab-content {
    display: none;
}

.p8o9i0u7.active {
    display: block;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Кнопки выбора метода */
.a1s2d3f4 {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.method-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.g5h6j7k8::-webkit-scrollbar {
    height: 4px;
}

.method-buttons::-webkit-scrollbar {
    height: 4px;
}

.l9m0n1b2::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.method-buttons::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.v3c4x5z6::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.method-buttons::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.q7w8e9r0 {
    flex: 1;
    min-width: 100px;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    background: white;
}

.method-btn {
    flex: 1;
    min-width: 100px;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    background: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.t1y2u3i4 {
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.o5p6i7u8 {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.method-btn i {
    font-size: 18px;
}

.z9x8c7v6 i {
    font-size: 18px;
}

.method-btn span {
    font-size: 13px;
}

.b4n5m6l7 span {
    font-size: 13px;
}

.method-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.method-btn.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.method-btn.active:hover {
    background: #5a67d8;
    border-color: #5a67d8;
    color: white;
}

/* Формы методов */
.d3f4g5h6 {
    display: none;
    animation: fadeIn 0.3s ease;
}

.method-form {
    display: none;
    animation: fadeIn 0.3s ease;
}

.method-form.active {
    display: block;
}

.method-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.j6k7l8m9 {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.method-description i {
    color: #667eea;
    margin-right: 5px;
}

.n0b1v2c3 i {
    color: #667eea;
    margin-right: 5px;
}

/* Формы */
.x4z5q6w7 {
    margin-top: 15px;
}

.auth-form {
    margin-top: 15px;
}

.e8r7t6y5 {
    position: relative;
    margin-bottom: 15px;
}

.input-group {
    position: relative;
    margin-bottom: 15px;
}

.input-group i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 1;
}

.u9i0o1p2 i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 1;
}

.input-group input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background: white;
}

.r2t3y4u5 input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background: white;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.i5o6p7q8 input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Поля пароля */
.password-input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.w9e8r7t6 {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.password-input-wrapper input {
    width: 100%;
    padding: 12px 50px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background: white;
}

.q5w4e3r2 input {
    width: 100%;
    padding: 12px 50px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background: white;
}

.password-input-wrapper input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.t4y5u6i7 input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.password-input-wrapper .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 1;
}

.o3i2u1y8 .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    z-index: 1;
}

.password-input-wrapper .toggle-password {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #ddd;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s;
}

.p9l8k7j6 .toggle-password {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #ddd;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s;
}

.password-input-wrapper .toggle-password:hover {
    background: #f8f9fa;
    color: #667eea;
}

.h2g3f4d5 .toggle-password:hover {
    background: #f8f9fa;
    color: #667eea;
}

/* Кнопки */
.btn {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.j1k2l3m4 {
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-passkey {
    background: linear-gradient(135deg, #10b981 0%, #0da271 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    width: 100%;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    margin-top: 10px;
}

.n5b6v7c8 {
    background: linear-gradient(135deg, #10b981 0%, #0da271 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    width: 100%;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    margin-top: 10px;
}

.btn-passkey:hover {
    background: linear-gradient(135deg, #0da271 0%, #0b8a61 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.m8l9k0j1:hover {
    background: linear-gradient(135deg, #0da271 0%, #0b8a61 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.btn-email,
.btn-phone {
    background: #667eea;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    width: 100%;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    margin-top: 10px;
}

.v6c5x4z9,
.b3n4m5l6 {
    background: #667eea;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    width: 100%;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    margin-top: 10px;
}

.btn-email:hover,
.btn-phone:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.z8x7c6v5:hover,
.q1w2e3r4:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Сообщения */
.error-message {
    background: #fee;
    border: 1px solid #f99;
    color: #c00;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.t7y8u9i0 {
    background: #fee;
    border: 1px solid #f99;
    color: #c00;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.o4p5i6u7 {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

/* Информационные заметки */
.passkey-info-note {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
}

.a9s8d7f6 {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
}

.passkey-info-note i {
    color: #10b981;
    margin-right: 5px;
}

.g8h9j0k1 i {
    color: #10b981;
    margin-right: 5px;
}

/* Условия */
.terms {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.l3k4j5h6 {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #666;
    text-align: center;
}

.terms a {
    color: #667eea;
    text-decoration: none;
}

.d2f3g4h5 a {
    color: #667eea;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

.s5a6d7f8 a:hover {
    text-decoration: underline;
}

/* Нижняя панель навигации */
.bottom-nav {
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    position: sticky;
    bottom: 0;
    padding: 10px 0;
}

.f9g0h1j2 {
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    position: sticky;
    bottom: 0;
    padding: 10px 0;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #666;
    text-decoration: none;
    padding: 10px;
    font-size: 12px;
    transition: color 0.3s;
}

.k2l3m4n5 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #666;
    text-decoration: none;
    padding: 10px;
    font-size: 12px;
    transition: color 0.3s;
}

.nav-item:hover {
    color: #667eea;
}

.j6h7i8k9:hover {
    color: #667eea;
}

.nav-item.active {
    color: #667eea;
}

.p0o9i8u7.active {
    color: #667eea;
}

.nav-item i {
    font-size: 18px;
}

.m4n5b6v7 i {
    font-size: 18px;
}

/* Уведомления для JS */
.auth-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10000;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
}

.x1y2z3q4 {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 10000;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
}

.auth-notification-error {
    background: #ff4757;
}

.w8e7r6t5 {
    background: #ff4757;
}

.auth-notification-success {
    background: #2ed573;
}

.q5a4s3d2 {
    background: #2ed573;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* Адаптивность */
@media (max-width: 768px) {
    .auth-card {
        padding: 20px;
    }
    
    .auth-title {
        font-size: 20px;
    }
    
    .method-btn {
        min-width: 90px;
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 15px;
    }
    
    .auth-title {
        font-size: 18px;
    }
    
    .method-btn {
        min-width: 80px;
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .method-btn i {
        font-size: 16px;
    }
    
    .method-btn span {
        font-size: 12px;
    }
    
    .btn {
        padding: 10px;
        font-size: 13px;
    }
    
    .nav-item {
        padding: 8px;
    }
    
    .nav-item i {
        font-size: 16px;
    }
    
    .nav-item span {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .method-btn {
        min-width: 70px;
        padding: 8px 10px;
    }
}

.h-captcha-group {
    display: flex;
    justify-content: center;
    align-items: center;
}