html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.login-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-page #bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.login-container {
    position: relative;
    z-index: 1;
    background: rgba(6, 6, 18, 0.6);
    border: 1px solid rgba(138, 173, 244, 0.15);
    border-radius: 12px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.login-logo {
    height: 60px;
    width: auto;
    margin: 0 auto;
    display: block;
}

.login-form {
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    color: rgba(200, 220, 255, 0.8);
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(6, 6, 18, 0.5);
    border: 1px solid rgba(138, 173, 244, 0.2);
    border-radius: 6px;
    color: rgba(200, 220, 255, 0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(138, 173, 244, 0.5);
    box-shadow: 0 0 0 3px rgba(138, 173, 244, 0.1);
}

.form-input::placeholder {
    color: rgba(200, 220, 255, 0.35);
}

.btn-block {
    width: 100%;
    padding: 14px;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.login-page .btn-primary {
    background: rgba(138, 173, 244, 0.08);
    color: rgba(200, 220, 255, 0.8);
    border: 1px solid rgba(138, 173, 244, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-page .btn-primary:hover:not(:disabled) {
    background: rgba(138, 173, 244, 0.15);
    border-color: rgba(138, 173, 244, 0.4);
    color: #fff;
    box-shadow: 0 0 20px rgba(138, 173, 244, 0.15);
}

.btn-secondary {
    background: rgba(138, 173, 244, 0.08);
    color: rgba(200, 220, 255, 0.8);
    border: 1px solid rgba(138, 173, 244, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(138, 173, 244, 0.15);
    border-color: rgba(138, 173, 244, 0.4);
    color: #fff;
}

.email-sent {
    text-align: center;
    margin-bottom: 20px;
}

.email-sent-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    color: rgba(138, 173, 244, 0.7);
}

.email-sent h2 {
    color: rgba(186, 200, 255, 0.9);
    font-size: 1.3rem;
    margin: 0 0 15px;
}

.login-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(138, 173, 244, 0.1);
}

.back-link {
    color: rgba(138, 173, 244, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: rgba(138, 173, 244, 0.9);
}

.messages {
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }
}
