/* change_pass.css - стили для страниц восстановления пароля */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e3e6ff 100%);
}

.auth-card {
    max-width: 420px;
    width: 100%;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(138, 92, 245, 0.1);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.auth-header .logo i {
    font-size: 28px;
}

.auth-header h2 {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
}

.auth-email {
    background: #f8fafc;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 500;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    margin-top: 16px;
    word-break: break-all;
}

/* PIN-код стили */
.pin-container {
    text-align: center;
}

.pin-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.pin-input {
    width: 56px;
    height: 64px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: white;
    transition: all 0.2s;
    color: var(--text-primary);
}

.pin-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(138, 92, 245, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.pin-input.filled {
    border-color: var(--primary-color);
    background-color: rgba(138, 92, 245, 0.05);
}

/* Индикатор сложности пароля */
.password-strength {
    margin-top: -8px;
    margin-bottom: 16px;
}

.progress {
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.3s ease;
}

.progress-bar.weak {
    background-color: #dc3545;
}

.progress-bar.medium {
    background-color: #ffc107;
}

.progress-bar.strong {
    background-color: #198754;
}

/* Кнопки */
#submitBtn {
    padding: 14px;
    font-weight: 600;
    border-radius: 10px;
}

#resendBtn {
    padding: 12px;
    border-radius: 10px;
}

#resendBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.timer {
    margin-left: 8px;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 576px) {
    .auth-card {
        padding: 24px;
        margin: 0 15px;
    }

    .pin-input {
        width: 48px;
        height: 56px;
        font-size: 20px;
    }

    .pin-inputs {
        gap: 8px;
    }
}
