/* login.css - стили для страницы входа */

.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #030705;
    position: relative;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    z-index: 1;
}

.login-box {
    padding: 40px 30px;
    animation: fadeIn 0.5s ease;
}

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

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

.login-header .text-gradient {
    font-size: 28px;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.login-subtitle {
    font-size: 16px;
    opacity: 0.7;
}

.login-form {
    display: none;
}

.login-form.active {
    display: block;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 20, 10, 0.5);
    border: 1px solid rgba(0, 255, 159, 0.2);
    border-radius: 12px;
    color: #00ff9f;
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    transition: 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: #00ff9f;
    box-shadow: 0 0 15px rgba(0, 255, 159, 0.2);
}

.input-group input::placeholder {
    color: rgba(0, 255, 159, 0.3);
}

/* OTP контейнер */
.otp-container {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.otp-input {
    width: 50px !important;
    height: 60px;
    text-align: center;
    font-size: 24px !important;
    font-weight: 600;
    padding: 0 !important;
}

.otp-input:focus {
    border-color: #00ff9f;
    box-shadow: 0 0 15px rgba(0, 255, 159, 0.3);
}

/* Кнопка входа */
.login-btn {
    width: 100%;
    padding: 16px;
    background: #00ff9f;
    color: #030705;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 10px;
    font-family: 'JetBrains Mono', monospace;
}

.login-btn:hover {
    box-shadow: 0 0 20px #00ff9f;
    transform: translateY(-2px);
}

.login-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.login-footer a {
    color: #00ff9f;
    text-decoration: none;
    opacity: 0.7;
    transition: 0.2s;
}

.login-footer a:hover {
    opacity: 1;
    text-shadow: 0 0 8px #00ff9f;
}

.back-btn {
    background: transparent;
    border: none;
    color: #00ff9f;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.7;
    transition: 0.2s;
    font-family: 'JetBrains Mono', monospace;
    padding: 5px 10px;
}

.back-btn:hover {
    opacity: 1;
    text-shadow: 0 0 8px #00ff9f;
}

/* Адаптивность */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .otp-container {
        gap: 5px;
    }
    
    .otp-input {
        width: 40px !important;
        height: 50px;
        font-size: 20px !important;
    }
}