@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════════════
   STORAGE CRM — Dark Purple Auth (matches screenshot)
   ═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-deep:     #0d0618;
    --bg-mid:      #120b22;
    --bg-card:     rgba(22, 12, 40, 0.85);
    --purple:      #8b5cf6;
    --purple-2:    #7c3aed;
    --pink:        #ec4899;
    --accent-grad: linear-gradient(90deg, #8b5cf6 0%, #ec4899 100%);
    --border-card: rgba(139, 92, 246, 0.18);
    --border-dim:  rgba(139, 92, 246, 0.1);
    --input-bg:    rgba(255,255,255,0.05);
    --input-border:rgba(255,255,255,0.1);
    --text-main:   #f1f5f9;
    --text-sub:    #94a3b8;
    --text-dim:    #64748b;
    --radius:      1.1rem;
    --radius-sm:   0.65rem;
    --radius-btn:  999px;
}

/* ── Full page reset ───────────────────────────── */
body.login-identity-page.auth-enterprise {
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    background: #0d0618 !important;
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
    position: relative;
}
html[lang="ar"] body.login-identity-page.auth-enterprise {
    font-family: 'Alexandria', 'Inter', system-ui, sans-serif;
}

/* ── Wave canvas background ────────────────────── */
#auth-waves-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: block;
    background: radial-gradient(ellipse at 30% 60%, #1a0a2e 0%, #0d0618 55%, #080410 100%);
}

/* remove old grid styles */
.auth-enterprise .auth-grid-bg { display: none !important; }

/* ── Layout wrappers ───────────────────────────── */
.auth-enterprise .bg-login,
.auth-enterprise .login-bg-img { display: none !important; }

/* hide original header/footer/navbar */
.auth-enterprise .dash-header,
.auth-enterprise footer,
.auth-enterprise .auth-footer,
.auth-enterprise .auth-stars { display: none !important; }

.auth-enterprise .custom-login {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.auth-enterprise .custom-login-inner {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: auto !important;
    display: contents !important;
}

.auth-enterprise .custom-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-enterprise .custom-row {
    width: 100% !important;
    max-width: 940px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1.05fr !important;
    gap: 0 !important;
    align-items: stretch !important;
    border-radius: var(--radius) !important;
    border: 1px solid var(--border-card) !important;
    overflow: hidden !important;
    box-shadow: 0 0 0 1px rgba(139,92,246,0.1), 0 40px 100px rgba(0,0,0,0.7), 0 0 60px rgba(139,92,246,0.08) !important;
    background: none !important;
}

@media (max-width: 860px) {
    .auth-enterprise .custom-row {
        grid-template-columns: 1fr !important;
        max-width: 480px !important;
    }
    .auth-enterprise .auth-hero-panel { display: none !important; }
}

/* ── LEFT panel (hero) ─────────────────────────── */
.auth-enterprise .auth-hero-panel {
    background: rgba(18, 8, 34, 0.92) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border-inline-end: 1px solid var(--border-card) !important;
    padding: 3rem 2.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 480px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

/* subtle inner glow top-left */
.auth-enterprise .auth-hero-panel::before {
    content: "";
    position: absolute;
    top: -80px; left: -80px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.18) 0%, transparent 70%);
    pointer-events: none;
}

/* dot grid texture */
.auth-enterprise .auth-hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(139,92,246,0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    opacity: 0.5;
}

/* Logo inside panel */
.auth-enterprise .auth-panel-logo {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}
.auth-enterprise .auth-panel-logo img {
    max-height: 50px;
    max-width: 200px;
    object-fit: contain;
    display: block;
    filter: brightness(1.1);
}
.auth-enterprise .auth-panel-logo .logo-fallback {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.auth-enterprise .auth-hero-body {
    position: relative;
    z-index: 2;
    flex: 1;
}

.auth-enterprise .auth-hero-body h2 {
    font-size: clamp(1.5rem, 2vw, 1.9rem) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 0.85rem !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em;
}
.auth-enterprise .auth-hero-body h2 span {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-enterprise .auth-hero-body p {
    color: var(--text-sub) !important;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 30ch;
}

/* Feature list with Tabler icons */
.auth-enterprise .auth-hero-features {
    list-style: none;
    margin: 1.75rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.auth-enterprise .auth-hero-features li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-sub, #cbd5e1);
    font-size: 0.88rem;
}
.auth-enterprise .auth-hero-features li::before {
    display: none;
}
.auth-enterprise .auth-hero-features li > i {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 0.45rem;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    color: #99f6e4;
    background: rgba(15, 118, 110, 0.18);
    border: 1px solid rgba(15, 118, 110, 0.28);
}

/* Stats row */
.auth-enterprise .auth-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}
.auth-enterprise .auth-hero-stats div {
    background: rgba(139,92,246,0.06);
    border: 1px solid rgba(139,92,246,0.15);
    border-radius: 0.75rem;
    padding: 0.85rem 0.6rem;
    text-align: center;
}
.auth-enterprise .auth-hero-stats strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}
.auth-enterprise .auth-hero-stats span {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── RIGHT panel (form card) ───────────────────── */
.auth-enterprise .custom-row > .card,
.auth-enterprise .card {
    background: rgba(15, 8, 28, 0.96) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--text-main) !important;
    overflow: auto !important;
    max-height: none !important;
    width: 100% !important;
    backdrop-filter: blur(20px);
}

.auth-enterprise .card-body,
.auth-enterprise .auth-compact-card {
    padding: 2.75rem 2.5rem !important;
}

@media (max-width: 575px) {
    .auth-enterprise .card-body,
    .auth-enterprise .auth-compact-card { padding: 2rem 1.5rem !important; }
}

/* Welcome back heading */
.auth-enterprise .auth-welcome-title {
    text-align: right;
    margin-bottom: 2rem;
}
.auth-enterprise .auth-welcome-title p {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin: 0 0 0.25rem;
}
.auth-enterprise .auth-welcome-title h2 {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    letter-spacing: -0.02em;
}
.auth-enterprise .auth-welcome-title h2 .accent {
    color: var(--purple) !important;
    -webkit-text-fill-color: initial !important;
}
html[dir="ltr"] .auth-enterprise .auth-welcome-title { text-align: right; }
html[dir="rtl"] .auth-enterprise .auth-welcome-title { text-align: left; }

/* Card sub-heading for register */
.auth-enterprise .auth-card-head { margin-bottom: 1.5rem; }
.auth-enterprise .auth-card-head h2 {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 0.4rem !important;
    letter-spacing: -0.02em;
}
.auth-enterprise .auth-card-sub {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.55;
}
.auth-enterprise .auth-step-meta {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.auth-enterprise .auth-step-meta::before {
    content: "";
    display: inline-block;
    width: 16px; height: 2px;
    background: var(--purple);
    border-radius: 2px;
}

/* Stepper */
.auth-enterprise .auth-stepper {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}
.auth-enterprise .auth-stepper span {
    flex: 1; height: 3px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}
.auth-enterprise .auth-stepper span.is-active {
    background: linear-gradient(90deg, var(--purple-2), var(--purple));
}
.auth-enterprise .auth-stepper span.is-done { background: var(--purple); }

/* ── Form labels & inputs ──────────────────────── */
.auth-enterprise .form-label {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.87rem;
    margin-bottom: 0.45rem;
    display: block;
}

.auth-enterprise .auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}
.auth-enterprise .auth-label-row .form-label { margin-bottom: 0; }

.auth-enterprise .form-control {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--input-border) !important;
    padding: 0.78rem 1rem !important;
    min-height: 3rem;
    background: var(--input-bg) !important;
    color: #ffffff !important;
    font-size: 0.95rem;
    width: 100%;
    transition: border-color .18s, box-shadow .18s, background .18s;
    font-family: inherit;
}
.auth-enterprise .form-control::placeholder { color: rgba(255,255,255,0.22); }
.auth-enterprise .form-control:hover { border-color: rgba(139,92,246,0.3) !important; }
.auth-enterprise .form-control:focus {
    border-color: var(--purple) !important;
    background: rgba(139,92,246,0.07) !important;
    box-shadow: 0 0 0 3px rgba(139,92,246,0.18) !important;
    outline: none;
    color: #ffffff !important;
}

.auth-enterprise .form-group.mb-3 { margin-bottom: 1.15rem !important; }

.auth-enterprise .auth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.auth-enterprise .auth-form-grid .auth-span-2 { grid-column: 1 / -1; }
.auth-enterprise .auth-field { min-width: 0; }
@media (max-width: 575px) {
    .auth-enterprise .auth-form-grid { grid-template-columns: 1fr; }
}

.auth-enterprise .auth-hint {
    margin: 0.3rem 0 0;
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.4;
}
.auth-enterprise .auth-optional,
.auth-enterprise .auth-req {
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.12rem 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
.auth-enterprise .auth-optional { color: var(--text-dim); background: rgba(255,255,255,0.06); }
.auth-enterprise .auth-req      { color: var(--purple);   background: rgba(139,92,246,0.12); }

/* Password row */
.auth-enterprise .password-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
}
.auth-enterprise .forgot-link {
    color: var(--purple);
    font-size: 0.84rem;
    text-decoration: none;
    font-weight: 500;
    transition: color .15s;
}
.auth-enterprise .forgot-link:hover { color: var(--pink); text-decoration: underline; }

/* ── Submit Button — gradient pill ────────────── */
.auth-enterprise .btn-primary,
.auth-enterprise .auth-submit {
    background: var(--accent-grad) !important;
    border: 0 !important;
    border-radius: var(--radius-btn) !important;
    min-height: 3.05rem;
    width: 100%;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    color: #ffffff !important;
    box-shadow: 0 8px 30px rgba(139,92,246,0.4);
    position: relative;
    overflow: hidden;
    transition: transform .18s, box-shadow .18s, filter .18s;
    cursor: pointer;
}
/* Shimmer on hover */
.auth-enterprise .btn-primary::after,
.auth-enterprise .auth-submit::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transform: skewX(-15deg);
    transition: left 0.55s ease;
}
.auth-enterprise .btn-primary:hover,
.auth-enterprise .auth-submit:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 12px 40px rgba(139,92,246,0.55);
}
.auth-enterprise .btn-primary:hover::after,
.auth-enterprise .auth-submit:hover::after { left: 140%; }
.auth-enterprise .btn-primary:active,
.auth-enterprise .auth-submit:active { transform: translateY(0); filter: brightness(0.97); }
.auth-enterprise .btn-primary:disabled,
.auth-enterprise .auth-submit:disabled { opacity: 0.6; transform: none; cursor: not-allowed; }

/* ── Terms checkbox ────────────────────────────── */
.auth-enterprise .auth-terms {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 1.25rem 0;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.03);
    cursor: pointer;
    transition: border-color .2s;
}
.auth-enterprise .auth-terms:hover { border-color: rgba(139,92,246,0.3); }
.auth-enterprise .auth-terms input {
    margin-top: 0.2rem; flex-shrink: 0;
    width: 1rem; height: 1rem;
    accent-color: var(--purple);
}
.auth-enterprise .auth-terms span {
    color: var(--text-sub);
    font-size: 0.85rem;
    line-height: 1.55;
}

/* ── Trial banner ──────────────────────────────── */
.auth-enterprise .auth-trial-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: rgba(139,92,246,0.07);
    border: 1px solid rgba(139,92,246,0.2);
    border-inline-start: 3px solid var(--purple);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    margin-bottom: 1.4rem;
}
.auth-enterprise .auth-trial-banner strong {
    display: block;
    color: #c4b5fd;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.auth-enterprise .auth-trial-banner span {
    color: #a78bfa;
    font-size: 0.83rem;
    line-height: 1.55;
}

/* ── Switch link ───────────────────────────────── */
.auth-enterprise .auth-switch {
    text-align: center;
    margin-top: 1.35rem;
    color: var(--text-dim);
    font-size: 0.88rem;
}
.auth-enterprise .auth-switch a {
    color: var(--purple);
    font-weight: 600;
    text-decoration: none;
    transition: color .15s;
}
.auth-enterprise .auth-switch a:hover { color: var(--pink); text-decoration: underline; }

/* ── Alert ─────────────────────────────────────── */
.auth-enterprise .auth-alert-danger {
    background: rgba(239,68,68,0.1);
    color: #fca5a5;
    border: 1px solid rgba(239,68,68,0.25);
    border-inline-start: 3px solid #ef4444;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    margin-bottom: 1.1rem;
    font-size: 0.87rem;
    line-height: 1.5;
}
.auth-enterprise .auth-alert-danger ul { padding-inline-start: 1.2rem; margin: 0; }

/* ── Language dropdown ─────────────────────────── */
.auth-enterprise .auth-lang-bar {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    z-index: 10;
}
html[dir="rtl"] .auth-enterprise .auth-lang-bar { right: auto; left: 1.5rem; }

.auth-enterprise .btn-outline-light {
    border-color: rgba(139,92,246,0.35) !important;
    color: #c4b5fd !important;
    font-size: 0.8rem !important;
    border-radius: 0.5rem !important;
    padding: 0.28rem 0.75rem !important;
    background: rgba(139,92,246,0.06) !important;
}
.auth-enterprise .btn-outline-light:hover {
    background: rgba(139,92,246,0.15) !important;
    border-color: var(--purple) !important;
}
.auth-enterprise .dropdown-menu {
    background: #1a0d30 !important;
    border: 1px solid rgba(139,92,246,0.2) !important;
    border-radius: 0.65rem !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.6) !important;
    min-width: 120px !important;
}
.auth-enterprise .dropdown-item {
    color: #c4b5fd !important;
    font-size: 0.84rem !important;
    padding: 0.5rem 1rem !important;
}
.auth-enterprise .dropdown-item:hover {
    background: rgba(139,92,246,0.12) !important;
    color: #ffffff !important;
}

/* ── Misc ──────────────────────────────────────── */
.auth-enterprise .text-muted { color: var(--text-dim) !important; }
.auth-enterprise h2, .auth-enterprise .f-w-600 {
    color: #ffffff !important;
    font-weight: 800 !important;
}
.auth-enterprise .form-check {
    display: flex; align-items: flex-start; gap: 0.55rem;
    margin-bottom: 1rem !important; padding: 0;
}
.auth-enterprise .form-check-input { margin-top: 0.2rem; accent-color: var(--purple); }
.auth-enterprise .form-check-label { color: var(--text-sub); font-size: 0.9rem; }

/* hide unwanted legacy elements */
.auth-enterprise .auth-logo-box,
.auth-enterprise .auth-brand-accent,
.auth-enterprise .auth-hero-kicker,
.auth-enterprise .lang-dropdown-only-desk { display: none !important; }

/* ── RTL tweaks ────────────────────────────────── */
[dir="rtl"] .auth-enterprise .auth-stepper span.is-active {
    background: linear-gradient(270deg, var(--purple-2), var(--purple));
}
[dir="rtl"] .auth-enterprise .auth-trial-banner {
    border-inline-start: 3px solid var(--purple);
}

/* ── Reduced motion ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .auth-enterprise .auth-grid-bg::before { animation: none; }
    .auth-enterprise * { transition: none !important; }
}


/* ═══════════════════════════════════════════════
   INDUSTRY SELECTION PAGE
   ═══════════════════════════════════════════════ */

/* Wider card row for industry page */
.auth-enterprise .custom-row.ind-wide {
    max-width: 1280px !important;
    grid-template-columns: 320px 1fr !important;
}

/* Card body — scrollable */
.auth-enterprise .ind-body {
    padding: 1.75rem 2rem 1.5rem !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(139,92,246,0.3) transparent;
}
.auth-enterprise .ind-body::-webkit-scrollbar { width: 4px; }
.auth-enterprise .ind-body::-webkit-scrollbar-thumb {
    background: rgba(139,92,246,0.35);
    border-radius: 4px;
}

/* Header */
.auth-enterprise .ind-header { margin-bottom: 1rem; }
.auth-enterprise .ind-header h2 {
    font-size: 1.4rem !important;
    margin-bottom: 0.25rem !important;
}

/* Section label */
.auth-enterprise .ind-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--purple);
    margin: 0 0 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.auth-enterprise .ind-section-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(139,92,246,0.15);
}

/* ── Featured grid — 2 columns ── */
.auth-enterprise .ind-grid-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

/* ── Other grid — 3 columns ── */
.auth-enterprise .ind-grid-other {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
}

@media (max-width: 900px) {
    .auth-enterprise .custom-row.ind-wide { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
    .auth-enterprise .ind-grid-featured { grid-template-columns: 1fr; }
    .auth-enterprise .ind-grid-other    { grid-template-columns: 1fr 1fr; }
}

/* ── Base card ── */
.auth-enterprise .ind-card {
    display: flex;
    flex-direction: column;
    border: 1.5px solid rgba(255,255,255,0.07);
    border-radius: 0.9rem;
    padding: 0.9rem 1rem 0.85rem;
    cursor: pointer;
    background: rgba(255,255,255,0.025);
    position: relative;
    transition: border-color .18s, background .18s, transform .18s, box-shadow .18s;
    overflow: hidden;
    min-height: 0;
}
.auth-enterprise .ind-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(139,92,246,0.09) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .2s;
    pointer-events: none;
}
.auth-enterprise .ind-card::after {
    content: "";
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,0.5), transparent);
    opacity: 0;
    transition: opacity .2s;
}
.auth-enterprise .ind-card input[type=radio] {
    position: absolute; opacity: 0; pointer-events: none;
}
.auth-enterprise .ind-card:hover {
    border-color: rgba(139,92,246,0.4);
    background: rgba(139,92,246,0.055);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.auth-enterprise .ind-card:hover::before,
.auth-enterprise .ind-card:hover::after { opacity: 1; }

/* Selected */
.auth-enterprise .ind-card.is-selected,
.auth-enterprise .ind-card:has(input:checked) {
    border-color: var(--purple) !important;
    background: rgba(139,92,246,0.11) !important;
    box-shadow: 0 0 0 2.5px rgba(139,92,246,0.22), 0 6px 28px rgba(139,92,246,0.18) !important;
    transform: translateY(-2px);
}
.auth-enterprise .ind-card.is-selected::before,
.auth-enterprise .ind-card:has(input:checked)::before,
.auth-enterprise .ind-card.is-selected::after,
.auth-enterprise .ind-card:has(input:checked)::after { opacity: 1; }

/* Featured baseline */
.auth-enterprise .ind-card-featured {
    background: rgba(139,92,246,0.04);
    border-color: rgba(139,92,246,0.16);
    padding: 1rem 1.1rem 0.95rem;
}

/* ── Card top row: icon + check ── */
.auth-enterprise .ind-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.65rem;
}

/* Icon */
.auth-enterprise .ind-card-icon {
    font-size: 1.15rem;
    width: 2.4rem; height: 2.4rem;
    display: grid; place-items: center;
    background: rgba(15, 118, 110, 0.1);
    border-radius: 0.6rem;
    border: 1px solid rgba(15, 118, 110, 0.18);
    color: #0f766e;
    flex-shrink: 0;
    transition: background .18s, transform .18s, color .18s;
}
.auth-enterprise .ind-card-icon i {
    font-size: 1.15rem;
    line-height: 1;
}
.auth-enterprise .ind-card-icon-sm {
    font-size: 1rem;
    width: 2rem; height: 2rem;
    border-radius: 0.5rem;
}
.auth-enterprise .ind-card:hover .ind-card-icon,
.auth-enterprise .ind-card.is-selected .ind-card-icon {
    background: rgba(15, 118, 110, 0.18);
    color: #115e59;
    transform: scale(1.04);
}

/* Text */
.auth-enterprise .ind-card-body { flex: 1; min-width: 0; }
.auth-enterprise .ind-card-body strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.25;
    margin-bottom: 0.28rem;
}
.auth-enterprise .ind-card-body span {
    display: block;
    font-size: 0.73rem;
    color: #475569;
    line-height: 1.4;
    margin-bottom: 0.45rem;
}
/* Clamp description for "other" cards */
.auth-enterprise .ind-grid-other .ind-card-body strong { font-size: 0.82rem; }
.auth-enterprise .ind-grid-other .ind-card-body span {
    font-size: 0.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

/* Tags */
.auth-enterprise .ind-tags {
    display: flex; flex-wrap: wrap; gap: 0.28rem;
}
.auth-enterprise .ind-tags em {
    font-style: normal;
    font-size: 0.6rem; font-weight: 700;
    letter-spacing: 0.04em; text-transform: uppercase;
    background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.18);
    color: #a78bfa;
    padding: 0.1rem 0.42rem;
    border-radius: 999px;
}
.auth-enterprise .ind-card.is-selected .ind-tags em {
    background: rgba(139,92,246,0.2);
    color: #c4b5fd;
}

/* Check badge */
.auth-enterprise .ind-check {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--accent-grad);
    color: #fff;
    font-size: 0.62rem; font-weight: 800;
    display: grid; place-items: center;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.3) rotate(-90deg);
    transition: opacity .2s, transform .22s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 2px 8px rgba(139,92,246,0.35);
    margin-inline-start: 0.4rem;
}
.auth-enterprise .ind-card.is-selected .ind-check,
.auth-enterprise .ind-card:has(input:checked) .ind-check {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* ── Actions ── */
.auth-enterprise .ind-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.auth-enterprise .ind-actions .auth-submit {
    flex: 1;
    font-size: 0.95rem;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.auth-enterprise .ind-back-btn {
    color: #64748b;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.52rem 0.9rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(255,255,255,0.07);
    transition: color .15s, border-color .15s, background .15s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.auth-enterprise .ind-back-btn:hover {
    color: #f1f5f9;
    border-color: rgba(139,92,246,0.3);
    background: rgba(139,92,246,0.06);
}


/* ═══════════════════════════════════════════════
   WELCOME / SUCCESS PAGE
   ═══════════════════════════════════════════════ */

.auth-enterprise .wlc-body {
    padding: 2.25rem 2.25rem 2rem !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.1rem;
}

/* ── Success ring ── */
.auth-enterprise .wlc-success-ring {
    display: flex;
    justify-content: center;
    margin-bottom: 0.25rem;
}
.auth-enterprise .wlc-success-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(236,72,153,0.15));
    border: 2px solid rgba(139,92,246,0.35);
    display: grid;
    place-items: center;
    font-size: 1.75rem;
    color: #a78bfa;
    box-shadow: 0 0 0 8px rgba(139,92,246,0.08), 0 0 32px rgba(139,92,246,0.2);
    animation: wlcPop .5s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes wlcPop {
    from { transform: scale(0.3); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

/* ── Heading ── */
.auth-enterprise .wlc-heading {
    text-align: center;
}
.auth-enterprise .wlc-heading h2 {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #f1f5f9 !important;
    margin: 0 0 0.35rem !important;
}
.auth-enterprise .wlc-heading p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

/* ── Industry badge ── */
.auth-enterprise .wlc-industry-badge {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(15, 118, 110, 0.07);
    border: 1px solid rgba(15, 118, 110, 0.2);
    border-radius: 0.85rem;
    padding: 0.85rem 1.1rem;
}
.auth-enterprise .wlc-industry-icon {
    font-size: 1.25rem;
    width: 2.8rem; height: 2.8rem;
    display: grid;
    place-items: center;
    background: rgba(15, 118, 110, 0.12);
    border-radius: 0.65rem;
    border: 1px solid rgba(15, 118, 110, 0.2);
    color: #0f766e;
    flex-shrink: 0;
}
.auth-enterprise .wlc-industry-badge small {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
}
.auth-enterprise .wlc-industry-badge strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
}

/* ── Trial card ── */
.auth-enterprise .wlc-trial-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    padding: 1.1rem 1.2rem;
    position: relative;
    overflow: hidden;
}
.auth-enterprise .wlc-trial-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    border-radius: 2px 2px 0 0;
}

.auth-enterprise .wlc-trial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}
.auth-enterprise .wlc-trial-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #a78bfa;
    background: rgba(139,92,246,0.12);
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
}
.auth-enterprise .wlc-trial-days {
    font-size: 1.15rem;
    font-weight: 800;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-enterprise .wlc-trial-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.auth-enterprise .wlc-trial-item small {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.auth-enterprise .wlc-trial-item strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #f1f5f9;
}
.auth-enterprise .wlc-status-active {
    color: #34d399 !important;
    font-size: 0.88rem !important;
}

.auth-enterprise .wlc-trial-note {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* ── Contact info ── */
.auth-enterprise .wlc-contact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.auth-enterprise .wlc-contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #94a3b8;
}
.auth-enterprise .wlc-contact-icon {
    width: 24px; height: 24px;
    background: rgba(139,92,246,0.08);
    border: 1px solid rgba(139,92,246,0.15);
    border-radius: 0.4rem;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* ── CTA button ── */
.auth-enterprise .wlc-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    font-size: 1rem !important;
    gap: 0.5rem;
}

/* ── Footer note ── */
.auth-enterprise .wlc-footer-note {
    text-align: center;
    font-size: 0.78rem;
    color: #475569;
    margin: 0;
}
.auth-enterprise .wlc-footer-note a {
    color: var(--purple);
    text-decoration: none;
    font-weight: 500;
}
.auth-enterprise .wlc-footer-note a:hover {
    text-decoration: underline;
    color: var(--pink);
}

/* Input icons (login / register) */
.auth-enterprise .auth-input-icon {
    position: relative;
}
.auth-enterprise .auth-input-icon > i {
    position: absolute;
    top: 50%;
    inset-inline-start: 0.9rem;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.05rem;
    pointer-events: none;
    z-index: 2;
}
.auth-enterprise .auth-input-icon .form-control {
    padding-inline-start: 2.55rem !important;
}
.auth-enterprise .auth-input-icon .form-control:focus + i,
.auth-enterprise .auth-input-icon:focus-within > i {
    color: #0f766e;
}
