/*
 * VST Business Management System
 * Copyright (c) 2026 VST Services. All rights reserved.
 * Proprietary and confidential.
 */
/* VST V1.33.1 - Modern Branded Login + Terms Acceptance */
:root {
    --vst-login-accent: #2563eb;
    --vst-login-accent-dark: #1e40af;
    --vst-login-bg: #f4f7fb;
    --vst-login-ink: #172033;
    --vst-login-muted: #667085;
    --vst-login-border: rgba(16, 24, 40, 0.12);
    --vst-login-card: rgba(255, 255, 255, 0.92);
    --vst-login-shadow: 0 24px 70px rgba(16, 24, 40, 0.16);
}

* { box-sizing: border-box; }

body.vst-login-page {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--vst-login-ink);
    background:
        radial-gradient(circle at 15% 10%, rgba(37, 99, 235, 0.18), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(14, 165, 233, 0.16), transparent 28%),
        linear-gradient(135deg, #eef4ff 0%, #f8fafc 48%, #eef6ff 100%);
}

.vst-login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.vst-login-grid {
    width: min(1160px, 100%);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: stretch;
}

.vst-login-hero,
.vst-login-card {
    border: 1px solid var(--vst-login-border);
    box-shadow: var(--vst-login-shadow);
    backdrop-filter: blur(14px);
}

.vst-login-hero {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    border-radius: 32px;
    padding: 34px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.92)),
        radial-gradient(circle at 20% 15%, rgba(255,255,255,0.25), transparent 25%);
}

.vst-login-hero::before,
.vst-login-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

.vst-login-hero::before {
    width: 340px;
    height: 340px;
    top: -120px;
    right: -80px;
}

.vst-login-hero::after {
    width: 220px;
    height: 220px;
    bottom: -70px;
    left: -50px;
}

.vst-login-logo-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.vst-login-logo-box {
    min-width: 150px;
    min-height: 82px;
    padding: 12px 14px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.96);
    box-shadow: 0 18px 35px rgba(0,0,0,0.18);
}

.vst-login-logo-box img {
    display: block;
    max-width: 178px;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.vst-login-logo-caption {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.2;
    color: rgba(255,255,255,0.72);
    text-align: center;
}

.vst-login-brand-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vst-login-x {
    font-weight: 800;
    color: rgba(255,255,255,0.72);
    font-size: 22px;
}

.vst-login-hero-content {
    position: relative;
    z-index: 2;
    margin-top: 90px;
    max-width: 650px;
}

.vst-login-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.88);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.vst-login-hero h1 {
    margin: 24px 0 14px;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.vst-login-hero p {
    margin: 0;
    max-width: 580px;
    color: rgba(255,255,255,0.78);
    font-size: 17px;
    line-height: 1.7;
}

.vst-login-feature-grid {
    position: relative;
    z-index: 2;
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.vst-login-feature {
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 20px;
    padding: 15px;
    background: rgba(255,255,255,0.09);
}

.vst-login-feature strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 14px;
}

.vst-login-feature span {
    color: rgba(255,255,255,0.68);
    font-size: 12px;
    line-height: 1.45;
}

.vst-login-card-wrap {
    display: flex;
    align-items: center;
}

.vst-login-card {
    width: 100%;
    border-radius: 32px;
    padding: 34px;
    background: var(--vst-login-card);
}

.vst-login-mobile-logos {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
}

.vst-login-mobile-logos .vst-login-logo-box {
    min-width: 112px;
    min-height: 62px;
    box-shadow: 0 10px 20px rgba(16, 24, 40, 0.08);
    border: 1px solid var(--vst-login-border);
}

.vst-login-mobile-logos img {
    max-width: 126px;
    max-height: 42px;
}

.vst-login-card h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.03em;
}

.vst-login-card .subtitle {
    margin: 8px 0 24px;
    color: var(--vst-login-muted);
    font-size: 14px;
    line-height: 1.55;
}

.vst-login-alert {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #9f1239;
    font-size: 14px;
}

.vst-login-form label {
    display: block;
    margin-bottom: 8px;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.vst-login-form .field {
    margin-bottom: 16px;
}

.vst-login-form input[type="text"],
.vst-login-form input[type="password"] {
    width: 100%;
    border: 1px solid rgba(16, 24, 40, 0.16);
    border-radius: 16px;
    padding: 14px 15px;
    background: #fff;
    color: #111827;
    font-size: 15px;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.vst-login-form input:focus {
    border-color: var(--vst-login-accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.vst-login-button {
    width: 100%;
    border: 0;
    border-radius: 18px;
    padding: 14px 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--vst-login-accent), var(--vst-login-accent-dark));
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.26);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.vst-login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(37, 99, 235, 0.34);
}

.vst-login-notice {
    margin-top: 18px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 18px;
    padding: 14px;
    background: #eff6ff;
    color: #334155;
    font-size: 12.5px;
    line-height: 1.55;
}

.vst-login-notice strong {
    color: #1e3a8a;
}

.vst-login-notice a {
    color: var(--vst-login-accent-dark);
    font-weight: 800;
    text-decoration: none;
}

.vst-login-notice a:hover { text-decoration: underline; }

.vst-login-support {
    margin-top: 16px;
    color: var(--vst-login-muted);
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
}

.vst-login-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(16, 24, 40, 0.08);
    color: #98a2b3;
    font-size: 12px;
    text-align: center;
}

.vst-terms-page .vst-login-grid {
    grid-template-columns: 0.82fr 1.18fr;
}

.vst-terms-page .vst-login-hero {
    min-height: 700px;
}

.vst-terms-card {
    max-height: 86vh;
    overflow: auto;
}

.vst-terms-card h2 {
    margin-bottom: 8px;
}

.vst-terms-list {
    margin: 18px 0;
    padding-left: 18px;
    color: #475467;
    line-height: 1.55;
    font-size: 14px;
}

.vst-terms-list li { margin-bottom: 9px; }

.vst-terms-checkbox {
    margin: 16px 0;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid rgba(16, 24, 40, 0.12);
    border-radius: 18px;
    background: #fff;
    color: #344054;
    line-height: 1.45;
}

.vst-terms-checkbox input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
}

@media (max-width: 980px) {
    .vst-login-shell { padding: 18px; }
    .vst-login-grid { grid-template-columns: 1fr; }
    .vst-login-hero { display: none; }
    .vst-login-mobile-logos { display: flex; }
    .vst-login-card { padding: 24px; border-radius: 26px; }
    .vst-login-card h2 { font-size: 26px; }
    .vst-terms-card { max-height: none; }
}

@media (max-width: 520px) {
    .vst-login-shell { padding: 12px; }
    .vst-login-card { padding: 20px; border-radius: 24px; }
    .vst-login-mobile-logos { flex-direction: column; }
    .vst-login-mobile-logos .vst-login-logo-box { width: 100%; }
}
