/* ==========================================================
   EngageX — Auth (Login) + Platform Hub
   Enhanced Enterprise UI
   ========================================================== */

/* ----------------------------------------------------------
   Design tokens
   ---------------------------------------------------------- */

:root {
    /* Brand */
    --vx-navy: #0a1628;
    --vx-navy-mid: #0d1f3c;
    --vx-navy-light: #1a3a6b;

    --vx-orange: #f97316;
    --vx-orange-dark: #ea6c0a;
    --vx-orange-soft: rgba(249, 115, 22, 0.12);

    /* Surface */
    --vx-bg: #f6f8fc;
    --vx-surface: #ffffff;
    --vx-surface-soft: #f9fafc;

    /* Text */
    --vx-text: #111827;
    --vx-text-secondary: #4b5563;
    --vx-text-muted: #6b7280;
    --vx-text-faint: #9ca3af;

    /* Borders */
    --vx-border: #e5e7eb;
    --vx-border-strong: #d1d5db;

    /* Radius */
    --vx-radius-sm: 0.5rem;
    --vx-radius-md: 0.75rem;
    --vx-radius-lg: 1rem;
    --vx-radius-xl: 1.25rem;

    /* Shadows */
    --vx-shadow-sm:
        0 1px 2px rgba(15, 23, 42, 0.04);

    --vx-shadow-md:
        0 6px 20px rgba(15, 23, 42, 0.08);

    --vx-shadow-lg:
        0 14px 40px rgba(15, 23, 42, 0.12);

    /* Motion */
    --vx-transition-fast: 150ms ease;
    --vx-transition: 220ms ease;
}


/* ==========================================================
   BASE
   ========================================================== */

.vx-login-body,
.vx-hub-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* ==========================================================
   LOGIN PAGE
   ========================================================== */

.vx-login-body {
    background: var(--vx-bg);
}

.vx-login-wrap {
    display: flex;
    min-height: 100vh;
}


/* ----------------------------------------------------------
   Login — Left panel
   ---------------------------------------------------------- */

.vx-login-left {
    flex: 0 0 43%;
    max-width: 43%;

    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    padding: 2.75rem 3.5rem;

    color: #fff;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(249, 115, 22, 0.12),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #081323 0%,
            #0a1628 55%,
            #0d1f3c 100%
        );
}

/* Decorative glow */

.vx-login-left::before {
    content: "";

    position: absolute;
    width: 520px;
    height: 520px;

    top: -220px;
    left: -180px;

    background:
        radial-gradient(
            circle,
            rgba(249, 115, 22, 0.16) 0%,
            rgba(249, 115, 22, 0.04) 38%,
            transparent 70%
        );

    pointer-events: none;
}

.vx-login-left::after {
    content: "";

    position: absolute;
    width: 360px;
    height: 360px;

    right: -180px;
    bottom: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(44, 90, 150, 0.18),
            transparent 70%
        );

    pointer-events: none;
}


/* ----------------------------------------------------------
   Login — Logo
   ---------------------------------------------------------- */

.vx-login-logo {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 0.7rem;

    margin-bottom: 2.5rem;
}

.vx-login-logo-img {
    max-height: 48px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    /* Logo is on dark bg — add a subtle white glow so it reads on navy */
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.15));
}

.vx-login-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vx-login-logo-text {
    color: #fff;

    font-size: 1.5rem;
    font-weight: 750;

    letter-spacing: -0.025em;
}

.vx-login-logo-x {
    color: var(--vx-orange);
}


/* ----------------------------------------------------------
   Login — Headline
   ---------------------------------------------------------- */

.vx-login-headline {
    position: relative;
    z-index: 1;
}

.vx-login-headline h1 {
    max-width: 480px;

    margin: 0 0 2.25rem;

    color: #fff;

    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;

    letter-spacing: -0.04em;
}


/* ----------------------------------------------------------
   Login — Illustration
   ---------------------------------------------------------- */

.vx-login-illustration {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 310px;

    margin: 0 auto 2.5rem;
}

.vx-login-illus-card {
    position: relative;

    display: flex;
    align-items: center;
    gap: 1rem;

    padding: 1.35rem;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.07),
            rgba(255,255,255,0.035)
        );

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: var(--vx-radius-xl);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.04);

    backdrop-filter: blur(10px);
}

.vx-login-illus-avatar {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            #1a3a6b,
            #10294e
        );

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 50%;

    color: rgba(255,255,255,0.6);

    font-size: 1.75rem;
}

.vx-login-illus-lines {
    flex: 1;
}

.vx-login-illus-line {
    height: 7px;

    margin-bottom: 7px;

    background: rgba(255,255,255,0.12);

    border-radius: 99px;
}

.vx-login-illus-line--lg {
    width: 82%;
}

.vx-login-illus-line--sm {
    width: 55%;
}

.vx-login-illus-dots {
    display: flex;
    gap: 5px;

    margin-top: 9px;
}

.vx-login-illus-dots span {
    width: 7px;
    height: 7px;

    background: rgba(255,255,255,0.16);

    border-radius: 50%;
}

.vx-login-illus-shield {
    position: absolute;

    right: -13px;
    top: 50%;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            var(--vx-orange),
            var(--vx-orange-dark)
        );

    border: 4px solid #0a1628;
    border-radius: 0.85rem;

    color: #fff;

    font-size: 1.25rem;

    box-shadow:
        0 8px 22px rgba(249,115,22,0.35);

    transform: translateY(-50%);
}


/* ----------------------------------------------------------
   Login — Features
   ---------------------------------------------------------- */

.vx-login-features {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    gap: 1rem;

    margin: auto 0 0;
    padding: 0;

    list-style: none;
}

.vx-login-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.vx-login-feature-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--vx-radius-md);

    color: var(--vx-orange);

    font-size: 1.05rem;
}

.vx-login-features strong {
    display: block;

    margin-bottom: 0.2rem;

    color: #fff;

    font-size: 0.9rem;
    font-weight: 700;
}

.vx-login-features span {
    display: block;

    max-width: 360px;

    color: rgba(255,255,255,0.78);

    font-size: 0.8rem;
    line-height: 1.5;
}


/* ==========================================================
   LOGIN — RIGHT PANEL
   ========================================================== */

.vx-login-right {
    flex: 1;

    position: relative;

    display: flex;
    flex-direction: column;

    background: var(--vx-surface);
}


/* Language */

.vx-login-lang {
    position: absolute;

    top: 1.5rem;
    right: 1.75rem;

    z-index: 5;

    display: inline-flex;
    align-items: center;
    gap: 0.4rem;

    padding: 0.4rem 0.8rem;

    background: rgba(255,255,255,0.9);

    border: 1px solid var(--vx-border);
    border-radius: 999px;

    color: var(--vx-text-muted);

    font-size: 0.82rem;

    cursor: pointer;

    transition:
        border-color var(--vx-transition-fast),
        background var(--vx-transition-fast),
        color var(--vx-transition-fast);
}

.vx-login-lang:hover {
    background: #fff;
    border-color: var(--vx-border-strong);
    color: var(--vx-text);
}


/* Form */

.vx-login-form-wrap {
    width: 100%;
    max-width: 480px;

    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    margin: 0 auto;

    padding: 4rem 2rem;
}

.vx-login-title {
    margin: 0 0 0.5rem;

    color: var(--vx-text);

    font-size: 2rem;
    font-weight: 800;

    line-height: 1.15;
    letter-spacing: -0.035em;
}

.vx-login-subtitle {
    margin: 0 0 2rem;

    color: var(--vx-text-muted);

    font-size: 0.925rem;
    line-height: 1.5;
}


/* ----------------------------------------------------------
   Login — Fields
   ---------------------------------------------------------- */

.vx-login-field {
    margin-bottom: 1.25rem;
}

.vx-login-label {
    display: block;

    margin-bottom: 0.5rem;

    color: #374151;

    font-size: 0.84rem;
    font-weight: 650;
}

.vx-login-input-wrap {
    position: relative;

    display: flex;
    align-items: center;
}

.vx-login-input-icon {
    position: absolute;
    left: 1rem;

    color: #9ca3af;

    font-size: 1rem;

    pointer-events: none;

    transition: color var(--vx-transition-fast);
}

.vx-login-input {
    width: 100%;
    height: 52px;

    box-sizing: border-box;

    padding:
        0
        3rem
        0
        2.75rem;

    background: #fff;

    border: 1.5px solid var(--vx-border-strong);
    border-radius: var(--vx-radius-md);

    color: var(--vx-text);

    font-size: 0.925rem;

    outline: none;

    transition:
        border-color var(--vx-transition-fast),
        box-shadow var(--vx-transition-fast),
        background var(--vx-transition-fast);
}

.vx-login-input::placeholder {
    color: #a1a8b3;
}

.vx-login-input:hover {
    border-color: #b7bec8;
}

.vx-login-input:focus {
    background: #fff;

    border-color: var(--vx-navy);

    box-shadow:
        0 0 0 4px rgba(10,22,40,0.07);
}

.vx-login-input-wrap:focus-within
.vx-login-input-icon {
    color: var(--vx-navy);
}


/* Password toggle */

.vx-login-toggle-pw {
    position: absolute;
    right: 0.8rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    padding: 0;

    background: transparent;

    border: none;
    border-radius: 0.5rem;

    color: #9ca3af;

    cursor: pointer;

    transition:
        background var(--vx-transition-fast),
        color var(--vx-transition-fast);
}

.vx-login-toggle-pw:hover {
    background: #f3f4f6;
    color: #374151;
}


/* ----------------------------------------------------------
   Remember / Forgot
   ---------------------------------------------------------- */

.vx-login-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 1.5rem;

    font-size: 0.84rem;
}

.vx-login-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    color: #4b5563;

    cursor: pointer;
}

.vx-login-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;

    margin: 0;

    accent-color: var(--vx-navy);
}

.vx-login-forgot {
    color: var(--vx-navy);

    font-weight: 650;

    text-decoration: none;

    transition: color var(--vx-transition-fast);
}

.vx-login-forgot:hover {
    color: var(--vx-orange);
    text-decoration: underline;
}


/* ----------------------------------------------------------
   Login button
   ---------------------------------------------------------- */

.vx-login-btn {
    width: 100%;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;

    padding: 0 1.25rem;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #1d4ed8
        );

    border: 1px solid rgba(37,99,235,0.2);
    border-radius: var(--vx-radius-md);

    color: #fff;

    font-size: 0.95rem;
    font-weight: 700;

    letter-spacing: 0.005em;

    cursor: pointer;

    box-shadow:
        0 4px 14px rgba(37,99,235,0.35);

    transition:
        transform var(--vx-transition-fast),
        box-shadow var(--vx-transition),
        background var(--vx-transition);
}

.vx-login-btn:hover {
    background:
        linear-gradient(
            135deg,
            #1d4ed8,
            #1e40af
        );

    transform: translateY(-1px);

    box-shadow:
        0 8px 22px rgba(37,99,235,0.45);
}

.vx-login-btn:active {
    transform: translateY(0);
}

.vx-login-btn:focus-visible {
    outline: none;

    box-shadow:
        0 0 0 4px rgba(37,99,235,0.25),
        0 6px 18px rgba(37,99,235,0.3);
}


/* ----------------------------------------------------------
   Divider
   ---------------------------------------------------------- */

.vx-login-divider {
    display: flex;
    align-items: center;
    gap: 1rem;

    margin: 1.75rem 0 1.25rem;

    color: #4b5563;

    font-size: 0.8rem;
}

.vx-login-divider::before,
.vx-login-divider::after {
    content: "";

    flex: 1;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #e5e7eb
        );
}

.vx-login-divider::after {
    background:
        linear-gradient(
            90deg,
            #e5e7eb,
            transparent
        );
}


/* ----------------------------------------------------------
   Social buttons
   ---------------------------------------------------------- */

.vx-login-social {
    display: flex;
    gap: 0.75rem;
}

.vx-login-social-btn {
    flex: 1;

    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

    background: #fff;

    border: 1.5px solid var(--vx-border);
    border-radius: var(--vx-radius-md);

    color: #4b5563;

    font-size: 0.84rem;
    font-weight: 600;

    cursor: not-allowed;

    opacity: 0.7;
}


/* ----------------------------------------------------------
   Login footer
   ---------------------------------------------------------- */

.vx-login-footer {
    padding: 1.25rem 2rem;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    gap: 0.5rem;

    border-top: 1px solid #f1f3f5;

    color: var(--vx-text-faint);

    font-size: 0.78rem;

    text-align: center;
}

.vx-login-footer a {
    color: #4b5563;

    text-decoration: none;

    transition: color var(--vx-transition-fast);
}

.vx-login-footer a:hover {
    color: var(--vx-navy);
}

.vx-login-copyright {
    width: 100%;
    margin-top: 0.25rem;
}


/* ==========================================================
   PLATFORM HUB
   ========================================================== */

.vx-hub-body {
    background:
        linear-gradient(
            180deg,
            #f7f9fc 0%,
            #f5f7fb 100%
        );

    color: var(--vx-text);
}


/* ----------------------------------------------------------
   Hub navbar
   ---------------------------------------------------------- */

.vx-hub-nav {
    position: sticky;
    top: 0;
    z-index: 100;

    background:
        rgba(10,22,40,0.96);

    border-bottom: 1px solid rgba(255,255,255,0.06);

    box-shadow:
        0 4px 20px rgba(0,0,0,0.14);

    backdrop-filter: blur(14px);
}

.vx-hub-nav-inner {
    max-width: 1320px;
    height: 68px;

    margin: 0 auto;
    padding: 0 2rem;

    display: flex;
    align-items: center;

    gap: 2rem;
}


/* Brand */

.vx-hub-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;

    flex-shrink: 0;

    color: #fff;

    font-size: 1.2rem;
    font-weight: 650;

    letter-spacing: -0.02em;

    text-decoration: none;
}

.vx-hub-brand strong {
    color: var(--vx-orange);
}

.vx-hub-brand-icon {
    display: flex;
    align-items: center;
}


/* Nav links */

.vx-hub-nav-links {
    flex: 1;

    display: flex;
    align-items: center;

    gap: 0.25rem;
}

.vx-hub-nav-link {
    position: relative;

    display: flex;
    align-items: center;
    gap: 0.5rem;

    padding: 0.55rem 0.9rem;

    border-radius: var(--vx-radius-sm);

    color: rgba(255,255,255,0.62);

    font-size: 0.84rem;
    font-weight: 550;

    text-decoration: none;

    transition:
        color var(--vx-transition-fast),
        background var(--vx-transition-fast);
}

.vx-hub-nav-link:hover {
    color: #fff;

    background:
        rgba(255,255,255,0.07);
}

.vx-hub-nav-link.active {
    color: #fff;

    background:
        rgba(255,255,255,0.11);
}

.vx-hub-nav-link.active::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -1px;

    width: 20px;
    height: 2px;

    background: var(--vx-orange);

    border-radius: 99px;

    transform: translateX(-50%);
}

.vx-hub-nav-link--soon {
    opacity: 0.5;

    cursor: default;
    pointer-events: none;
}


/* Badge */

.vx-hub-badge {
    padding: 0.12rem 0.45rem;

    background: var(--vx-orange);

    border-radius: 999px;

    color: #fff;

    font-size: 0.62rem;
    font-weight: 750;

    letter-spacing: 0.04em;
}


/* User */

.vx-hub-nav-user {
    margin-left: auto;
    flex-shrink: 0;
}

.vx-hub-user-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;

    padding:
        0.35rem
        0.8rem
        0.35rem
        0.35rem;

    background:
        rgba(255,255,255,0.07);

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;

    color: #fff;

    font-size: 0.84rem;
    font-weight: 550;

    cursor: pointer;

    transition:
        background var(--vx-transition-fast),
        border-color var(--vx-transition-fast);
}

.vx-hub-user-btn:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.18);
}

.vx-hub-avatar {
    width: 31px;
    height: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background:
        linear-gradient(
            135deg,
            var(--vx-orange),
            #fb923c
        );

    border-radius: 50%;

    color: #fff;

    font-size: 0.78rem;
    font-weight: 750;

    box-shadow:
        0 2px 8px rgba(249,115,22,0.25);
}


/* Sign in */

.vx-hub-signin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.55rem 1.2rem;

    background:
        linear-gradient(
            135deg,
            var(--vx-orange),
            #fb7c21
        );

    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--vx-radius-sm);

    color: #fff;

    font-size: 0.84rem;
    font-weight: 650;

    text-decoration: none;

    box-shadow:
        0 4px 12px rgba(249,115,22,0.2);

    transition:
        transform var(--vx-transition-fast),
        box-shadow var(--vx-transition-fast),
        background var(--vx-transition-fast);
}

.vx-hub-signin-btn:hover {
    background:
        linear-gradient(
            135deg,
            #fb7c21,
            var(--vx-orange-dark)
        );

    color: #fff;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(249,115,22,0.28);
}


/* ==========================================================
   HUB HERO
   ========================================================== */

.vx-hub-hero {
    position: relative;
    overflow: hidden;

    padding: 5rem 2rem 4.25rem;

    background:
        radial-gradient(
            circle at 15% 30%,
            rgba(249,115,22,0.12),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(45,90,150,0.2),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #081323 0%,
            #0a1628 55%,
            #122b52 100%
        );

    text-align: center;
}

.vx-hub-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 44px 44px;

    mask-image:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.7),
            transparent
        );

    pointer-events: none;
}

.vx-hub-hero-inner {
    position: relative;
    z-index: 1;

    max-width: 700px;

    margin: 0 auto;
}

.vx-hub-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;

    margin-bottom: 1rem;

    color: #fb923c;

    font-size: 0.75rem;
    font-weight: 750;

    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.vx-hub-hero-title {
    margin: 0 0 0.9rem;

    color: #fff;

    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 850;

    line-height: 1.05;

    letter-spacing: -0.045em;
}

.vx-hub-hero-sub {
    max-width: 600px;

    margin: 0 auto;

    color: rgba(255,255,255,0.62);

    font-size: 1rem;
    line-height: 1.6;
}


/* ==========================================================
   HUB MAIN
   ========================================================== */

.vx-hub-main {
    flex: 1;

    width: 100%;
    max-width: 1320px;

    box-sizing: border-box;

    margin: 0 auto;

    padding: 3.5rem 2rem;
}

.vx-hub-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 1.5rem;

    margin-bottom: 2.5rem;
}


/* ==========================================================
   HUB CARDS
   ========================================================== */

.vx-hub-card {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: flex-start;

    gap: 1.4rem;

    padding: 1.75rem;

    background:
        linear-gradient(
            145deg,
            #fff,
            #fcfdff
        );

    border: 1px solid #e3e7ee;
    border-radius: var(--vx-radius-xl);

    color: inherit;

    text-decoration: none;

    box-shadow:
        0 2px 6px rgba(15,23,42,0.025);

    transition:
        transform var(--vx-transition),
        border-color var(--vx-transition),
        box-shadow var(--vx-transition);
}

.vx-hub-card::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(249,115,22,0.035),
            transparent 45%
        );

    opacity: 0;

    transition: opacity var(--vx-transition);

    pointer-events: none;
}

.vx-hub-card:not(.vx-hub-card--soon):hover {
    border-color: rgba(10,22,40,0.22);

    transform: translateY(-4px);

    box-shadow:
        0 16px 38px rgba(15,23,42,0.11);
}

.vx-hub-card:not(.vx-hub-card--soon):hover::before {
    opacity: 1;
}

.vx-hub-card--soon {
    opacity: 0.68;
    cursor: default;
}


/* Soon badge */

.vx-hub-card-soon-badge {
    position: absolute;

    top: 1rem;
    right: 1rem;

    padding: 0.25rem 0.65rem;

    background: #f5f6f8;

    border: 1px solid #e5e7eb;
    border-radius: 999px;

    color: #6b7280;

    font-size: 0.64rem;
    font-weight: 750;

    letter-spacing: 0.05em;
    text-transform: uppercase;
}


/* ----------------------------------------------------------
   Card icon
   ---------------------------------------------------------- */

.vx-hub-card-icon {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 0.95rem;

    font-size: 1.45rem;

    transition:
        transform var(--vx-transition),
        box-shadow var(--vx-transition);
}

.vx-hub-card:not(.vx-hub-card--soon):hover
.vx-hub-card-icon {
    transform: scale(1.04);
}


/* Product icon themes */

.vx-hub-card--engagex .vx-hub-card-icon {
    background:
        linear-gradient(
            145deg,
            rgba(10,22,40,0.1),
            rgba(10,22,40,0.05)
        );

    color: var(--vx-navy);
}

.vx-hub-card--cms .vx-hub-card-icon {
    background: rgba(25,135,84,0.1);
    color: #198754;
}

.vx-hub-card--campaign .vx-hub-card-icon {
    background: rgba(111,66,193,0.1);
    color: #6f42c1;
}

.vx-hub-card--email .vx-hub-card-icon {
    background: rgba(13,110,253,0.1);
    color: #0d6efd;
}


/* ----------------------------------------------------------
   Card body
   ---------------------------------------------------------- */

.vx-hub-card-body {
    flex: 1;
    min-width: 0;
}

.vx-hub-card-body h3 {
    margin: 0 0 0.4rem;

    color: var(--vx-text);

    font-size: 1.1rem;
    font-weight: 750;

    letter-spacing: -0.015em;
}

.vx-hub-card-body p {
    margin: 0 0 1.1rem;

    color: var(--vx-text-muted);

    font-size: 0.84rem;
    line-height: 1.55;
}

.vx-hub-card-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.vx-hub-card-modules span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;

    padding: 0.25rem 0.65rem;

    background: #f8fafc;

    border: 1px solid #e7eaf0;
    border-radius: 999px;

    color: #687386;

    font-size: 0.7rem;
    font-weight: 650;
}


/* Arrow */

.vx-hub-card-arrow {
    align-self: center;

    flex-shrink: 0;

    color: #c7ccd5;

    font-size: 1.45rem;

    transition:
        color var(--vx-transition-fast),
        transform var(--vx-transition-fast);
}

.vx-hub-card:not(.vx-hub-card--soon):hover
.vx-hub-card-arrow {
    color: var(--vx-navy);

    transform: translateX(5px);
}


/* ==========================================================
   HUB STATS
   ========================================================== */

.vx-hub-stats {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 0;

    padding: 0;

    background: #fff;

    border: 1px solid var(--vx-border);
    border-radius: var(--vx-radius-lg);

    box-shadow: var(--vx-shadow-sm);

    overflow: hidden;
}

.vx-hub-stat {
    min-height: 84px;

    display: flex;
    align-items: center;

    gap: 0.875rem;

    padding: 1.2rem 1.5rem;

    font-size: 0.875rem;
}

.vx-hub-stat + .vx-hub-stat {
    border-left: 1px solid #edf0f4;
}

.vx-hub-stat i {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--vx-orange-soft);

    border-radius: 0.65rem;

    color: var(--vx-orange);

    font-size: 1rem;
}

.vx-hub-stat strong {
    display: block;

    margin-bottom: 0.15rem;

    color: var(--vx-text);

    font-size: 1.15rem;
    font-weight: 800;

    line-height: 1;
}

.vx-hub-stat span {
    color: var(--vx-text-muted);

    font-size: 0.76rem;
}


/* ==========================================================
   HUB FOOTER
   ========================================================== */

.vx-hub-footer {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 2rem;
    flex-wrap: wrap;

    padding: 1.4rem 2rem;

    background: #081323;

    color: rgba(255,255,255,0.45);

    font-size: 0.78rem;
}

.vx-hub-footer-links {
    display: flex;
    gap: 1.25rem;
}

.vx-hub-footer a {
    color: rgba(255,255,255,0.45);

    text-decoration: none;

    transition: color var(--vx-transition-fast);
}

.vx-hub-footer a:hover {
    color: #fff;
}


/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

.vx-login-left a:focus-visible,
.vx-login-right a:focus-visible,
.vx-hub-body a:focus-visible,
.vx-login-btn:focus-visible,
.vx-login-toggle-pw:focus-visible,
.vx-hub-user-btn:focus-visible {
    outline: 3px solid rgba(249,115,22,0.35);
    outline-offset: 3px;
}


/* ==========================================================
   RESPONSIVE — TABLET
   ========================================================== */

@media (max-width: 1100px) {

    .vx-login-left {
        flex-basis: 40%;
        max-width: 40%;

        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .vx-login-headline h1 {
        font-size: 2.15rem;
    }

    .vx-hub-nav-inner {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .vx-hub-main {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}


/* ==========================================================
   RESPONSIVE — TABLET / SMALL LAPTOP
   ========================================================== */

@media (max-width: 991.98px) {

    /* Login */

    .vx-login-left {
        display: none;
    }

    .vx-login-right {
        flex: 1;
    }

    .vx-login-form-wrap {
        max-width: 500px;
        padding: 3.5rem 2rem;
    }


    /* Hub */

    .vx-hub-nav-links {
        display: none;
    }

    .vx-hub-nav-inner {
        gap: 1rem;
    }

    .vx-hub-grid {
        grid-template-columns: 1fr;
    }

    .vx-hub-hero {
        padding-top: 4rem;
        padding-bottom: 3.5rem;
    }

    .vx-hub-hero-title {
        font-size: 2.25rem;
    }
}


/* ==========================================================
   RESPONSIVE — MOBILE
   ========================================================== */

@media (max-width: 575.98px) {

    /* Login */

    .vx-login-form-wrap {
        padding:
            4rem
            1.25rem
            2rem;
    }

    .vx-login-title {
        font-size: 1.7rem;
    }

    .vx-login-subtitle {
        margin-bottom: 1.5rem;
    }

    .vx-login-meta {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .vx-login-social {
        flex-direction: column;
    }

    .vx-login-footer {
        padding:
            1rem
            1.25rem;
    }

    .vx-login-lang {
        top: 1rem;
        right: 1rem;
    }


    /* Hub */

    .vx-hub-nav-inner {
        height: 60px;
        padding: 0 1rem;
    }

    .vx-hub-brand {
        font-size: 1.05rem;
    }

    .vx-hub-user-btn {
        padding-right: 0.35rem;
    }

    .vx-hub-user-btn span {
        display: none;
    }

    .vx-hub-signin-btn {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    .vx-hub-hero {
        padding:
            3.25rem
            1.25rem
            3rem;
    }

    .vx-hub-hero-title {
        font-size: 1.9rem;
    }

    .vx-hub-hero-sub {
        font-size: 0.9rem;
    }

    .vx-hub-main {
        padding:
            1.5rem
            1rem;
    }

    .vx-hub-card {
        flex-direction: column;
        gap: 1rem;

        padding: 1.4rem;
    }

    .vx-hub-card-arrow {
        display: none;
    }

    .vx-hub-card-body h3 {
        font-size: 1.05rem;
    }

    .vx-hub-stats {
        grid-template-columns: 1fr;
    }

    .vx-hub-stat {
        min-height: auto;
        padding: 1rem 1.15rem;
    }

    .vx-hub-stat + .vx-hub-stat {
        border-left: none;
        border-top: 1px solid #edf0f4;
    }

    .vx-hub-footer {
        flex-direction: column;
        gap: 0.75rem;

        padding:
            1.25rem
            1rem;
    }
}


/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}