/* Страница входа — современный стиль */

.login-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f0f17 0%, #141416 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.glass-card {
    background: rgba(26, 27, 46, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(249, 115, 22, 0.15);
    width: 100%;
    max-width: 460px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(249, 115, 22, 0.18);
}

.card-header {
    background: linear-gradient(135deg, #1a1b2e 0%, #0f0f17 100%);
    padding: 48px 32px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(249, 115, 22, 0.1);
}

.logo-icon {
    font-size: 5rem;
    margin-bottom: 16px;
    color: #f97316;
}

.card-header h1 {
    font-size: 2.4rem;
    color: #e0e0ff;
    margin: 0 0 8px;
}

.header-subtitle {
    font-size: 1.1rem;
    color: #a0a0cc;
    margin: 0;
}

.card-body {
    padding: 40px 32px 48px;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #c0c0ff;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: white;
    font-size: 1.05rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.remember-me {
    display: flex;
    align-items: center;
    color: #c0c0ff;
    font-size: 0.95rem;
    cursor: pointer;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: #f97316;
    font-size: 0.95rem;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: #f97316;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn:hover {
    background: #fb923c;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(249, 115, 22, 0.35);
}

.register-link {
    text-align: center;
    margin-top: 32px;
    color: #a0a0cc;
}

.register-link a {
    color: #f97316;
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Сообщения об ошибках / успехе */
.messages {
    margin-bottom: 24px;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(39, 174, 96, 0.15);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.alert-error {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}