/* Login page styles */
body {
    background: linear-gradient(135deg, #1a1c2e 0%, #0f111a 50%, #1a1c2e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 1rem;
}

.login-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(65, 72, 104, 0.5);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(157, 114, 255, 0.06);
    position: relative;
    overflow: hidden;
}

/* Top accent bar */
.login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9d72ff, #7aa2f7, #3b82f6);
}

.login-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #9d72ff, #7aa2f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .5rem;
    display: block;
}

.login-header h1 {
    font-size: 1.3rem;
    font-weight: 600;
    background: linear-gradient(135deg, #e4e8f7, #7aa2f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.login-header p {
    color: #565f89;
    font-size: .85rem;
    margin: .25rem 0 0;
}

.form-label {
    color: #6b7294;
}

.form-control {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(65, 72, 104, 0.6);
    color: #c0caf5;
    border-radius: 8px;
}

.form-control::placeholder { color: #565f89; }

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #9d72ff;
    box-shadow: 0 0 0 3px rgba(157, 114, 255, 0.15);
    color: #e4e8f7;
}

.input-group-text {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(65, 72, 104, 0.6);
    color: #565f89;
    border-radius: 8px 0 0 8px;
}

.input-group .form-control {
    border-radius: 0 8px 8px 0;
}

.btn-primary {
    background: linear-gradient(135deg, #9d72ff, #3b82f6);
    border: none;
    color: #fff;
    font-weight: 500;
    padding: .55rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(157, 114, 255, 0.25);
    transition: box-shadow .2s, transform .15s;
}

.btn-primary:hover {
    box-shadow: 0 4px 20px rgba(157, 114, 255, 0.4);
    transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; transform: none; }

.alert-danger {
    background: rgba(247, 118, 142, 0.1);
    border: 1px solid rgba(247, 118, 142, 0.3);
    color: #f7768e;
    border-radius: 8px;
    font-size: .9rem;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #414868;
}