/* Vortex Web – Login (split layout). Loaded after vortex.css. */

.vx-login {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 5fr) 7fr;
    background: var(--vx-surface);
}

/* Brand panel */
.vx-login-brand {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 48px;
    color: #e2e8f0;
    background:
        radial-gradient(1200px 600px at -10% -20%, rgba(59, 130, 246, .55), transparent 60%),
        radial-gradient(800px 500px at 120% 120%, rgba(37, 99, 235, .45), transparent 60%),
        linear-gradient(160deg, #1e3a8a 0%, #0f172a 70%);
}
.vx-login-brand::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent);
}
.vx-login-logo { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.vx-login-logo img:first-child { width: 44px; height: 44px; }
.vx-login-logo img:last-child { height: 30px; }
.vx-login-hero { position: relative; z-index: 1; max-width: 440px; }
.vx-login-hero h1 { color: #fff; font-size: 2rem; font-weight: 600; line-height: 1.2; margin-bottom: 12px; }
.vx-login-hero p { color: #cbd5e1; font-size: 1.05rem; margin: 0; }
.vx-login-brand-foot { position: relative; z-index: 1; color: #94a3b8; font-size: .82rem; }

/* Form panel */
.vx-login-main {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 40px 24px;
    background: var(--vx-bg);
}
.vx-login-card {
    width: 100%; max-width: 420px;
    background: var(--vx-surface);
    border: 1px solid var(--vx-border);
    border-radius: 14px;
    box-shadow: var(--vx-shadow-md);
    padding: 36px 32px;
}
.vx-login-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.vx-login-card .vx-login-sub { color: var(--vx-text-muted); margin-bottom: 24px; }
.vx-login-card .form-label { font-weight: 500; font-size: .88rem; margin-bottom: 6px; }
.vx-login-card .form-control { min-height: 44px; }
.vx-login-card .btn-lg { min-height: 46px; font-size: 1rem; }

.vx-password { position: relative; }
.vx-password .form-control { padding-inline-end: 44px; }
.vx-password-toggle {
    position: absolute; inset-block: 0; inset-inline-end: 4px; margin: auto 0;
    width: 38px; height: 38px; border: 0; border-radius: 8px;
    background: transparent; color: var(--vx-text-muted);
    display: inline-flex; align-items: center; justify-content: center;
}
.vx-password-toggle:hover { color: var(--vx-text); background: var(--vx-neutral-soft); }

.vx-login-sep { display: flex; align-items: center; gap: 12px; color: var(--vx-text-muted); font-size: .82rem; margin: 18px 0; }
.vx-login-sep::before, .vx-login-sep::after { content: ""; flex: 1; height: 1px; background: var(--vx-border); }

.vx-google-btn {
    width: 100%; min-height: 46px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    border: 1px solid var(--vx-border-strong); border-radius: 8px;
    background: var(--vx-surface); color: var(--vx-text); font-weight: 500;
}
.vx-google-btn:hover { background: var(--vx-surface-muted); }

.vx-login-mobile-logo { display: none; }
.vx-login-foot { margin-top: 24px; color: var(--vx-text-muted); font-size: .82rem; text-align: center; }

/* The language lookup should look like the other inputs */
.vx-login-card [class*="dxeButtonEdit_"] { min-height: 44px; }

@media (max-width: 991.98px) {
    .vx-login { grid-template-columns: 1fr; }
    .vx-login-brand { display: none; }
    .vx-login-main { justify-content: flex-start; padding-top: 32px; }
    .vx-login-mobile-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
    .vx-login-mobile-logo img:first-child { width: 36px; height: 36px; }
    .vx-login-mobile-logo span { font-size: 1.35rem; font-weight: 700; color: var(--vx-text); letter-spacing: -.02em; }
}
@media (max-width: 420px) {
    .vx-login-card { padding: 28px 20px; border-radius: 12px; }
}

/* Brand panel: decorative preview of the portal (floating "glass" cards, no text) */
.vx-login-preview { position: relative; z-index: 1; align-self: center; width: 100%; max-width: 440px; height: 360px; }
.vx-glass {
    position: absolute; padding: 16px; border-radius: 14px; color: #e2e8f0;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(6px); box-shadow: 0 20px 40px rgba(2, 6, 23, .35);
}
.vx-glass > i, .vx-glass .bi-clipboard-check { color: #93c5fd; font-size: 1.2rem; }
.vx-glass-kpi { left: 0; top: 10px; width: 62%; }
.vx-glass-chart { right: 0; top: 120px; width: 52%; }
.vx-glass-task { left: 8%; bottom: 0; width: 70%; }
.vx-glass-kpi-value { margin-top: 8px; font-size: 1.8rem; font-weight: 700; line-height: 1; color: #fff; }
.vx-glass-line { height: 8px; margin-top: 8px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.vx-glass-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .7rem; background: rgba(34, 197, 94, .25); color: #bbf7d0; }
.vx-glass-pin { color: #fca5a5; }
.vx-glass-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: 10px; }
.vx-glass-bars span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #60a5fa, #2563eb); }
@media (prefers-reduced-motion: no-preference) {
    .vx-glass { animation: vx-float 7s ease-in-out infinite; }
    .vx-glass-chart { animation-delay: -2.3s; }
    .vx-glass-task { animation-delay: -4.6s; }
}
@keyframes vx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
