/* Login page — gradient background (no image) */
.login-page {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 40%, #4f46e5 72%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

    .login-page::before,
    .login-page::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        pointer-events: none;
    }

    .login-page::before {
        width: 420px;
        height: 420px;
        background: rgba(99, 102, 241, 0.45);
        filter: blur(90px);
        top: -120px;
        right: -80px;
    }

    .login-page::after {
        width: 380px;
        height: 380px;
        background: rgba(20, 184, 166, 0.35);
        filter: blur(80px);
        bottom: -100px;
        left: -60px;
    }

.login-wrapper {
    margin: 0 auto !important;
    max-width: 600px !important;
    width: 100%;
    position: relative;
    z-index: 1;
    padding-bottom: 0 !important;
}

.login-card {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.45) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    overflow: hidden;
}

    .login-card .card-body {
        padding: 2rem 2rem 1.75rem !important;
    }

    .login-card .login-logo {
        max-height: 72px;
        width: auto;
        max-width: 280px;
    }

    .login-card .login-title {
        color: #0f172a;
        font-weight: 700;
        font-size: 1.35rem;
        margin-bottom: 0.25rem;
    }

    .login-card .login-subtitle {
        color: #64748b;
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .login-card .form-control {
        border-radius: 10px;
        padding: 12px 14px;
        border: 1px solid #e2e8f0;
        font-size: 14px;
    }

        .login-card .form-control:focus {
            border-color: #4f46e5;
            box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
        }

    .login-card .btn-login {
        background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
        border: none !important;
        border-radius: 10px;
        padding: 12px;
        font-weight: 600;
        font-size: 15px;
        letter-spacing: 0.02em;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

        .login-card .btn-login:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
            background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%) !important;
        }

    .login-card .form-label {
        color: #475569;
        font-weight: 500;
    }

/* Override template auth background image */
.auth-body-bg.login-page {
    background-image: none !important;
}
