/* User login page only */
.login-page {
    margin: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #0b1020;
    color: #e8edf5;
    overflow: hidden;
}

.login-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(59, 109, 240, 0.35), transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 80%, rgba(124, 58, 237, 0.28), transparent 50%),
        linear-gradient(145deg, #0b1020 0%, #151b33 45%, #0f172a 100%);
    z-index: 0;
}

.login-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.55;
    animation: loginFloat 12s ease-in-out infinite;
}

.login-orb-1 {
    width: 320px;
    height: 320px;
    background: #3b6df0;
    top: -80px;
    left: -60px;
}

.login-orb-2 {
    width: 280px;
    height: 280px;
    background: #7c3aed;
    bottom: -40px;
    right: 10%;
    animation-delay: -4s;
}

.login-orb-3 {
    width: 200px;
    height: 200px;
    background: #0d9488;
    top: 40%;
    right: -40px;
    animation-delay: -8s;
}

@keyframes loginFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -18px) scale(1.05); }
}

.login-wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 36px 32px 28px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.28),
        0 4px 16px rgba(15, 23, 42, 0.06);
    color: #1e293b;
}

.login-card .login-signin-text {
    color: #64748b;
}

.login-card .login-field label {
    color: #475569;
}

.login-card .login-input-wrap {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
}

.login-card .login-input-wrap:focus-within {
    border-color: #3b6df0;
    box-shadow: 0 0 0 3px rgba(59, 109, 240, 0.15);
    background: #ffffff;
}

.login-card .login-input-wrap input {
    color: #0f172a;
}

.login-card .login-input-wrap input::placeholder {
    color: #94a3b8;
}

.login-card .login-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.login-card .login-field-error {
    color: #dc2626;
}

.login-brand {
    text-align: center;
    margin-bottom: 28px;
}

.login-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-size: 1.75rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #3b6df0, #7c3aed);
    box-shadow: 0 10px 28px rgba(59, 109, 240, 0.45);
    margin-bottom: 14px;
}

.login-brand h1 {
    margin: 0 0 6px;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.4px;
}

.login-brand p {
    margin: 0;
    font-size: 0.88rem;
    color: #9ca3af;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-alert {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
    font-size: 0.82rem;
    list-style: none;
    margin: 0;
}

.login-alert:empty,
.login-alert.validation-summary-valid {
    display: none;
}

.login-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.login-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.65);
    border: 1.5px solid rgba(148, 163, 184, 0.25);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input-wrap:focus-within {
    border-color: #3b6df0;
    box-shadow: 0 0 0 3px rgba(59, 109, 240, 0.2);
}

.login-input-icon {
    font-size: 1rem;
    opacity: 0.75;
    flex-shrink: 0;
}

.login-input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    color: #f8fafc;
    font-size: 0.92rem;
    padding: 13px 0;
    outline: none;
    font-family: inherit;
}

.login-input-wrap input::placeholder {
    color: #64748b;
}

.login-field-error {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #fca5a5;
}

.login-submit {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #3b6df0 0%, #5b4fe8 50%, #7c3aed 100%);
    box-shadow: 0 10px 28px rgba(59, 109, 240, 0.4);
    transition: transform 0.15s, box-shadow 0.2s;
}

.login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(59, 109, 240, 0.5);
}

.login-submit:active {
    transform: translateY(0);
}

.login-submit-arrow {
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.login-submit:hover .login-submit-arrow {
    transform: translateX(4px);
}

.login-footer-note {
    margin: 22px 0 0;
    text-align: center;
    font-size: 0.72rem;
    color: #64748b;
    letter-spacing: 0.4px;
}

@media (max-width: 480px) {
    .login-card {
        padding: 28px 22px 22px;
    }
}
