/* ============================================================
   entry-pages.css — Professional Redesign v3
   Landing page, Admin Login — shared entry layout
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
    --ep-bg:           #020810;
    --ep-bg-2:         #040c1e;

    --ep-glass:        rgba(4, 10, 26, 0.75);
    --ep-glass-2:      rgba(5, 13, 32, 0.92);
    --ep-glass-card:   rgba(5, 12, 28, 0.84);

    --ep-line:         rgba(80, 130, 220, 0.12);
    --ep-line-2:       rgba(80, 130, 220, 0.24);

    --ep-text:         #dceeff;
    --ep-text-2:       #8ab4d8;
    --ep-muted:        #5a7a9e;

    /* Admin accent: indigo → violet (vivid) */
    --ep-a1:           #818cf8;
    --ep-a2:           #9333ea;
    --ep-a-glow:       rgba(99, 102, 241, 0.22);

    /* Portal accent: vivid cyan → sky */
    --ep-p1:           #22d3ee;
    --ep-p2:           #06b6d4;
    --ep-p-glow:       rgba(34, 211, 238, 0.18);

    --ep-ok:           #2ee8a2;
    --ep-err:          #ff6b81;

    --ep-r3:           28px;
    --ep-r2:           20px;
    --ep-r1:           14px;
    --ep-r0:           10px;

    --ep-sh:           0 36px 90px rgba(0, 0, 0, 0.62);
    --ep-sh-sm:        0 10px 34px rgba(0, 0, 0, 0.34);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { min-height: 100%; }

body.entry-page {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--ep-text);
    background:
        radial-gradient(ellipse 80rem 56rem at -4% -12%,  rgba(99, 102, 241, 0.28), transparent 50%),
        radial-gradient(ellipse 64rem 48rem at 106% -8%,  rgba(147, 51, 234, 0.22), transparent 50%),
        radial-gradient(ellipse 48rem 40rem at 50%  112%, rgba(34, 211, 238, 0.16), transparent 55%),
        linear-gradient(172deg, var(--ep-bg) 0%, var(--ep-bg-2) 100%);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* Dot-grid overlay */
body.entry-page::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.42;
    background-image: radial-gradient(circle, rgba(130, 140, 255, 0.45) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, black 0%, transparent 100%);
}

.entry-page-content { flex: 1 0 auto; }

/* ── Shell ──────────────────────────────────────────────────── */
.entry-shell {
    width: min(1280px, calc(100% - 32px));
    margin-inline: auto;
    padding: 20px 0 32px;
    position: relative;
    z-index: 1;
}

/* ── Top Bar ────────────────────────────────────────────────── */
.entry-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 18px;
    border-radius: var(--ep-r2);
    border: 1px solid var(--ep-line);
    background: rgba(2, 6, 16, 0.74);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
}

.entry-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.entry-brand-logo {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 auto;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
}

.entry-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7px;
    background: rgba(255, 255, 255, 0.96);
}

.entry-brand-logo span {
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--ep-a1), var(--ep-a2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.entry-brand-text { min-width: 0; }

.entry-brand-text h1 {
    margin: 0;
    font-size: clamp(1rem, 2.2vw, 1.36rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.entry-brand-text p {
    margin: 3px 0 0;
    color: var(--ep-muted);
    font-size: 0.81rem;
    font-weight: 500;
}

.entry-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.ep-btn,
.ep-btn-ghost,
.ep-btn-primary {
    appearance: none;
    border: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    font-weight: 700;
    border-radius: var(--ep-r1);
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.ep-btn-ghost {
    color: var(--ep-text-2);
    border: 1px solid var(--ep-line);
    background: rgba(255, 255, 255, 0.024);
    padding: 10px 16px;
}

.ep-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: var(--ep-line-2);
    color: #fff;
    transform: translateY(-1px);
}

.ep-btn-primary {
    color: #fff;
    border: 1px solid rgba(79, 140, 255, 0.28);
    background: linear-gradient(140deg, var(--ep-a1), var(--ep-a2));
    padding: 12px 22px;
    box-shadow: 0 6px 22px var(--ep-a-glow);
    font-weight: 800;
}

.ep-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(79, 140, 255, 0.40);
    filter: brightness(1.06);
    color: #fff;
}

/* Portal CTA variant */
.ep-btn-portal-cta {
    appearance: none;
    border: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    border-radius: var(--ep-r1);
    transition: all 0.2s ease;
    cursor: pointer;
    color: #fff;
    border: 1px solid rgba(0, 204, 170, 0.28);
    background: linear-gradient(140deg, var(--ep-p1), var(--ep-p2));
    padding: 12px 22px;
    box-shadow: 0 6px 22px var(--ep-p-glow);
}

.ep-btn-portal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 204, 170, 0.36);
    filter: brightness(1.06);
    color: #fff;
}

/* ── Pill badge ─────────────────────────────────────────────── */
.ep-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--ep-line);
    background: rgba(255, 255, 255, 0.024);
    color: var(--ep-text-2);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.ep-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--ep-a1), var(--ep-a2));
    box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.18);
}

/* ─────────────────────────────────────────────────────────── */
/*  LANDING PAGE                                               */
/* ─────────────────────────────────────────────────────────── */

/* Hero banner — centered intro block */
.ep-hero {
    margin-top: 22px;
    text-align: center;
    padding: 52px 28px 48px;
    border-radius: var(--ep-r3);
    border: 1px solid var(--ep-line);
    background: linear-gradient(175deg, rgba(8, 18, 44, 0.90) 0%, rgba(4, 11, 26, 0.94) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: var(--ep-sh-sm);
}

/* Ambient top glow */
.ep-hero::before {
    content: '';
    position: absolute;
    top: -80%;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    height: 200%;
    background: radial-gradient(ellipse at 50% 28%, rgba(79, 140, 255, 0.18), transparent 65%);
    pointer-events: none;
}

/* Hero inner — single column centered */
.ep-hero-grid {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin-inline: auto;
}

.ep-hero-copy h2 {
    margin: 18px 0 14px;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
    background: linear-gradient(160deg, #ffffff 25%, #90b8f8 78%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ep-hero-copy p {
    margin: 0 auto;
    color: var(--ep-text-2);
    font-size: 1.04rem;
    line-height: 1.66;
    max-width: 54ch;
}

/* Access cards grid — sits below the hero */
.ep-choice-stack {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 18px;
}

/* Card base */
.ep-choice-card {
    border-radius: var(--ep-r2);
    border: 1px solid var(--ep-line);
    background: var(--ep-glass-2);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.26s cubic-bezier(.2,0,0,1), box-shadow 0.26s cubic-bezier(.2,0,0,1);
}

.ep-choice-card:hover { transform: translateY(-4px); }

/* Admin card (uses --admin class via blade) */
.ep-choice-card.ep-card--admin {
    border-top: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.06) inset, var(--ep-sh-sm);
}

.ep-choice-card.ep-card--admin::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ep-a1), var(--ep-a2), transparent 80%);
}

.ep-choice-card.ep-card--admin::after {
    content: '';
    position: absolute;
    top: -22%; right: -10%;
    width: 52%; height: 62%;
    background: radial-gradient(ellipse, rgba(79, 140, 255, 0.12), transparent 72%);
    pointer-events: none;
}

.ep-choice-card.ep-card--admin:hover {
    box-shadow: 0 0 0 1px rgba(79, 140, 255, 0.18), var(--ep-sh);
}

/* Customer portal card */
.ep-choice-card.ep-card--portal {
    box-shadow: 0 0 0 1px rgba(0, 204, 170, 0.06) inset, var(--ep-sh-sm);
}

.ep-choice-card.ep-card--portal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ep-p1), var(--ep-p2), transparent 80%);
}

.ep-choice-card.ep-card--portal::after {
    content: '';
    position: absolute;
    top: -22%; right: -10%;
    width: 52%; height: 62%;
    background: radial-gradient(ellipse, rgba(0, 204, 170, 0.10), transparent 72%);
    pointer-events: none;
}

.ep-choice-card.ep-card--portal:hover {
    box-shadow: 0 0 0 1px rgba(0, 204, 170, 0.18), var(--ep-sh);
}

/* Card header row */
.ep-choice-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.ep-choice-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ep-card--admin .ep-choice-tag {
    background: rgba(79, 140, 255, 0.12);
    border: 1px solid rgba(79, 140, 255, 0.22);
    color: #8cbeff;
}

.ep-card--portal .ep-choice-tag {
    background: rgba(0, 204, 170, 0.10);
    border: 1px solid rgba(0, 204, 170, 0.22);
    color: #5ee8c8;
}

.ep-choice-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    font-weight: 800;
    flex: 0 0 auto;
}

.ep-card--admin .ep-choice-icon {
    background: linear-gradient(145deg, rgba(79, 140, 255, 0.20), rgba(100, 86, 242, 0.14));
    border: 1px solid rgba(79, 140, 255, 0.22);
    color: #8cbeff;
}

.ep-card--portal .ep-choice-icon {
    background: linear-gradient(145deg, rgba(0, 204, 170, 0.16), rgba(10, 171, 223, 0.12));
    border: 1px solid rgba(0, 204, 170, 0.20);
    color: #5ee8c8;
}

/* Card body */
.ep-choice-card h3 {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    position: relative;
    z-index: 1;
    line-height: 1.1;
}

.ep-choice-card p {
    margin: 0;
    color: var(--ep-text-2);
    line-height: 1.63;
    font-size: 0.91rem;
    position: relative;
    z-index: 1;
}

/* Feature mini-tags */
.ep-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    position: relative;
    z-index: 1;
}

.ep-feature-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: var(--ep-r0);
    border: 1px solid var(--ep-line);
    background: rgba(255, 255, 255, 0.022);
    font-size: 0.80rem;
    font-weight: 700;
    color: var(--ep-text-2);
}

.ep-feature-card::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex: 0 0 auto;
}

.ep-card--admin .ep-feature-card::before   { background: var(--ep-a1); }
.ep-card--portal .ep-feature-card::before  { background: var(--ep-p1); }

.ep-feature-card small   { display: none; }
.ep-feature-card strong  { font-size: inherit; font-weight: 700; }

/* Card actions */
.ep-choice-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.ep-choice-actions .ep-btn-primary,
.ep-choice-actions .ep-btn-portal-cta,
.ep-choice-actions .ep-btn-ghost {
    width: 100%;
    padding: 13px 18px;
    font-size: 0.95rem;
}

/* Info row */
.ep-info-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 14px;
}

.ep-info-card {
    border-radius: var(--ep-r2);
    border: 1px solid var(--ep-line);
    background: var(--ep-glass);
    padding: 18px 20px;
}

.ep-info-card h4 {
    margin: 0 0 12px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ep-muted);
}

.ep-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ep-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ep-text-2);
    line-height: 1.5;
    font-size: 0.88rem;
}

.ep-list-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-top: 0.44rem;
    flex: 0 0 auto;
    background: linear-gradient(180deg, var(--ep-a1), var(--ep-a2));
    box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.12);
}

.ep-stat-pills { display: grid; gap: 9px; }

.ep-stat-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px;
    border-radius: var(--ep-r0);
    border: 1px solid var(--ep-line);
    background: rgba(255, 255, 255, 0.022);
    color: var(--ep-text-2);
    font-size: 0.85rem;
    font-weight: 600;
}

.ep-stat-pill span:last-child { color: var(--ep-muted); }
.ep-stat-pill .ok { color: #68f0c4; font-weight: 800; }

/* Page footer */
.ep-footer {
    margin-top: 16px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--ep-muted);
    font-weight: 500;
}

/* ─────────────────────────────────────────────────────────── */
/*  BRAND FOOTER BAR                                           */
/* ─────────────────────────────────────────────────────────── */

.kt-brand-footer {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto 16px;
    border-radius: var(--ep-r1);
    border: 1px solid var(--ep-line);
    background: var(--ep-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}

.kt-brand-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
}

.kt-brand-footer__left {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--ep-muted);
    font-size: 0.85rem;
}

.kt-brand-footer__left strong {
    color: var(--ep-text-2);
    font-weight: 700;
}

.kt-brand-footer__dot { opacity: 0.5; line-height: 1; }

.kt-brand-footer__right {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ep-text);
    font-weight: 800;
    font-size: 0.87rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.kt-brand-footer__right svg {
    width: 15px; height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ─────────────────────────────────────────────────────────── */
/*  ADMIN LOGIN PAGE                                           */
/* ─────────────────────────────────────────────────────────── */

.entry-login-wrap {
    min-height: calc(100vh - 88px);
    display: grid;
    place-items: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.entry-login-grid {
    width: min(1140px, 100%);
    padding: 18px;
    border-radius: var(--ep-r3);
    border: 1px solid var(--ep-line);
    background: rgba(2, 6, 18, 0.76);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18px;
    box-shadow: var(--ep-sh);
}

.entry-login-panel {
    border-radius: var(--ep-r2);
    border: 1px solid var(--ep-line);
    background: var(--ep-glass-2);
}

/* Hero panel — left side of admin login */
.entry-login-panel--hero {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 590px;
    background: linear-gradient(158deg, rgba(8, 18, 46, 0.96) 0%, rgba(5, 12, 32, 0.98) 100%);
}

/* Accent top line */
.entry-login-panel--hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ep-a1), var(--ep-a2), transparent 80%);
}

/* Ambient glow bottom-right */
.entry-login-panel--hero::after {
    content: '';
    position: absolute;
    bottom: -25%; right: -18%;
    width: 78%; height: 78%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 140, 255, 0.22), rgba(79, 140, 255, 0) 68%);
    pointer-events: none;
    filter: blur(6px);
}

.entry-login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.entry-login-copy { position: relative; z-index: 1; }

.entry-login-copy h2 {
    margin: 16px 0 10px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 800;
    background: linear-gradient(158deg, #ffffff 18%, #9ec0ff 72%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.entry-login-copy p {
    margin: 0;
    color: var(--ep-text-2);
    line-height: 1.66;
    font-size: 0.93rem;
    max-width: 38ch;
}

/* Feature grid inside hero panel */
.entry-login-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.entry-login-stat {
    padding: 14px;
    border-radius: var(--ep-r1);
    border: 1px solid var(--ep-line);
    background: rgba(255, 255, 255, 0.024);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.entry-login-stat:hover {
    background: rgba(79, 140, 255, 0.07);
    border-color: rgba(79, 140, 255, 0.16);
}

.entry-login-stat small {
    display: block;
    color: var(--ep-muted);
    font-size: 0.70rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.entry-login-stat strong {
    font-size: 0.90rem;
    letter-spacing: -0.01em;
    font-weight: 700;
    color: var(--ep-text-2);
}

.entry-login-actions {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Form panel — right side of admin login */
.entry-login-panel--form {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.entry-login-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.entry-login-chip {
    border-radius: 999px;
    border: 1px solid rgba(79, 140, 255, 0.24);
    background: rgba(79, 140, 255, 0.08);
    color: #8dbeff;
    padding: 7px 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.entry-login-card {
    border-radius: var(--ep-r2);
    border: 1px solid var(--ep-line);
    background: rgba(255, 255, 255, 0.024);
    padding: 24px;
}

.entry-login-card h3 {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.entry-login-card p {
    margin: 8px 0 0;
    color: var(--ep-text-2);
    font-size: 0.90rem;
    line-height: 1.6;
}

.entry-form-grid {
    margin-top: 20px;
    display: grid;
    gap: 14px;
}

/* Field labels */
.entry-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--ep-muted);
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

/* Text inputs */
.entry-field input[type="email"],
.entry-field input[type="password"],
.entry-field input[type="text"] {
    width: 100%;
    border-radius: var(--ep-r1);
    border: 1px solid var(--ep-line-2);
    background: rgba(2, 6, 18, 0.65);
    color: var(--ep-text);
    padding: 13px 15px;
    font: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.entry-field input::placeholder { color: #3e5470; }

.entry-field input:focus {
    border-color: rgba(79, 140, 255, 0.52);
    box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.10);
}

.entry-field input.is-invalid {
    border-color: rgba(248, 113, 113, 0.50);
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.08);
}

.entry-invalid {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
    color: #fca5a5;
    font-weight: 600;
}

.entry-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.entry-remember {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ep-text-2);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.entry-remember input {
    width: 17px;
    height: 17px;
    accent-color: var(--ep-a1);
    cursor: pointer;
}

.entry-link {
    color: #74aaff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.entry-link:hover { color: #aecfff; }

.entry-submit {
    width: 100%;
    margin-top: 4px;
    padding: 14px 20px;
    border-radius: var(--ep-r1);
    font-size: 0.98rem;
}

.entry-switch-card {
    margin-top: 16px;
    border-radius: var(--ep-r1);
    border: 1px solid var(--ep-line);
    background: rgba(255, 255, 255, 0.022);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.entry-switch-card small {
    display: block;
    color: var(--ep-muted);
    font-size: 0.70rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 3px;
}

.entry-switch-card strong {
    font-size: 0.88rem;
    color: var(--ep-text-2);
    font-weight: 600;
}

.entry-switch-card .ep-btn-ghost {
    white-space: nowrap;
    padding: 9px 14px;
    font-size: 0.84rem;
}

/* ─────────────────────────────────────────────────────────── */
/*  RESPONSIVE                                                 */
/* ─────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .ep-info-grid { grid-template-columns: 1fr; }

    .entry-login-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
    }

    .entry-login-panel--hero { min-height: unset; }
    .entry-login-copy p      { max-width: none; }
}

@media (max-width: 720px) {
    .entry-shell {
        width: min(1280px, calc(100% - 16px));
        padding-top: 12px;
    }

    .entry-topbar {
        padding: 12px 14px;
        border-radius: var(--ep-r1);
        flex-direction: column;
        align-items: flex-start;
    }

    .entry-actions {
        width: 100%;
    }

    .entry-actions .ep-btn-ghost {
        flex: 1 1 calc(50% - 5px);
        justify-content: center;
    }

    .ep-hero {
        padding: 36px 20px 32px;
        border-radius: var(--ep-r2);
    }

    .ep-choice-stack { grid-template-columns: 1fr; }

    .ep-feature-grid { grid-template-columns: 1fr 1fr; }

    .entry-login-wrap {
        padding: 12px;
        min-height: calc(100vh - 104px);
    }

    .entry-login-grid {
        padding: 12px;
        border-radius: var(--ep-r2);
        gap: 12px;
    }

    .entry-login-panel          { border-radius: var(--ep-r1); }
    .entry-login-panel--hero,
    .entry-login-panel--form    { padding: 18px; }
    .entry-login-stats          { grid-template-columns: 1fr; }

    .entry-switch-card {
        flex-direction: column;
        align-items: stretch;
    }

    .entry-switch-card .ep-btn-ghost {
        width: 100%;
        justify-content: center;
    }

    .kt-brand-footer {
        width: calc(100% - 16px);
        margin-bottom: 10px;
        border-radius: var(--ep-r0);
    }

    .kt-brand-footer__inner {
        padding: 10px 14px;
        flex-direction: column;
        align-items: flex-start;
    }

    .kt-brand-footer__right { align-self: flex-end; }
}
