/* ============================================================================
   assets/css/login2.css  — Standard Modern Login Interface
============================================================================ */

/* ── RESET & TOKENS ────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --fh : 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --fb : 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --g  : var(--primary-color, #059669);
    --gd : var(--primary-dark, #047857);
    --gl : var(--primary-lighter, #34d399);
    --g08: rgba(5, 150, 105, .08);
    --g12: rgba(5, 150, 105, .12);
    --g22: rgba(5, 150, 105, .22);
    --g30: rgba(5, 150, 105, .30);
}

/* ── BASE ──────────────────────────────────────────────────────────────────── */
html, body {
    height: 100%;
    min-height: 100%;
    font-family: var(--fb);
    font-size: 14px;
    background: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
}

#bg-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ── PAGE LAYOUT ───────────────────────────────────────────────────────────── */
.page {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 52fr 48fr;
    min-height: 100vh; background: url('../images/bg_clean_modern.png') center/cover no-repeat;
}

/* ── LEFT PANEL (Hero Showcase) ────────────────────────────────────────────── */
.lp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 36px 44px;
    position: relative;
    background: transparent;
}

.lp::after {
    content: '';
    position: absolute;
    right: 0; top: 10%; bottom: 10%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(5, 150, 105, 0.2), transparent);
}

.hero {
    display: flex;
    flex-direction: column;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(16, 185, 129, 0.12) 100%);
    border: 1px solid rgba(5, 150, 105, 0.22);
    border-radius: 100px;
    margin-bottom: 12px;
    width: fit-content;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.brand-pill-text {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gd, #047857);
}

.hero-h1 {
    font-family: var(--fh);
    font-size: clamp(38px, 3.4vw, 50px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.03em;
    color: #0f172a;
    margin-bottom: 12px;
    min-height: auto;
}

.hero-h1 .accent-gradient {
    background: linear-gradient(120deg, #059669 0%, #10b981 40%, #047857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.typing-cursor {
    font-weight: 300;
    color: var(--g, #059669);
    animation: blinkCursor 0.8s infinite;
    margin-left: 2px;
    display: inline-block;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-p {
    font-size: 14px;
    line-height: 1.65;
    color: #475569;
    font-weight: 400;
    max-width: 440px;
    margin-bottom: 10px;
}

/* ── ORBIT SHOWCASE ECOSYSTEM ──────────────────────────────────────────────── */
.orbit-showcase {
    position: relative;
    width: 100%;
    height: 240px;
    margin: 8px 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(5, 150, 105, 0.22);
    pointer-events: none;
}

.outer-ring {
    width: 230px;
    height: 230px;
    animation: rotateSlow 45s linear infinite;
}

.inner-ring {
    width: 150px;
    height: 150px;
    animation: rotateSlow 28s linear reverse infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orbit-core {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 25px rgba(5, 150, 105, 0.2), 0 0 0 6px rgba(5, 150, 105, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
    padding: 10px;
}

.core-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Orbit Floating Nodes */
.orbit-node {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.orbit-node:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.22);
    border-color: var(--g, #059669);
}

.node-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.1);
    color: var(--g, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Node Positions & Animations */
.node-1 { top: 6px; left: 8%; animation: floatAnim1 5s ease-in-out infinite; }
.node-2 { top: 22px; right: 2%; animation: floatAnim2 6s ease-in-out infinite; }
.node-3 { bottom: 60px; left: 0%; animation: floatAnim3 5.5s ease-in-out infinite; }
.node-4 { bottom: 35px; right: 4%; animation: floatAnim4 6.5s ease-in-out infinite; }
.node-5 { bottom: 0px; left: 28%; animation: floatAnim5 5.8s ease-in-out infinite; }

@keyframes floatAnim1 { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-7px); } }
@keyframes floatAnim2 { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(8px); } }
@keyframes floatAnim3 { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-6px); } }
@keyframes floatAnim4 { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(7px); } }
@keyframes floatAnim5 { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-8px); } }

.metric-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.metric-badge i {
    font-size: 11px;
    color: var(--g, #059669);
}

/* Feature Showcase Cards - Clean Monochromatic UI */
.feat-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.feat-card:hover {
    transform: translateX(6px);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.08);
    border-color: rgba(5, 150, 105, 0.3);
}

.feat-icon-wrap {
    width: 38px; height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background 0.25s ease;
}

.feat-card:hover .feat-icon-wrap {
    transform: scale(1.08);
    background: rgba(5, 150, 105, 0.15);
}

.feat-icon-wrap i { font-size: 14px; color: var(--g, #059669); }

.feat-content {
    flex: 1;
}

.feat-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.feat-content h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.feat-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 100px;
    background: rgba(5, 150, 105, 0.08);
    color: #047857;
}

.feat-content p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.feat-arrow {
    font-size: 11.5px;
    color: #cbd5e1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.feat-card:hover .feat-arrow {
    transform: translateX(4px);
    color: var(--g, #059669);
}

.lp-footer {
    margin-top: 14px;
}

.lp-footer p {
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 500;
}

/* Animations */
.hero       { animation: slideUp .6s .10s ease both; }
.feat-list  { animation: slideUp .6s .20s ease both; }
.lp-footer  { animation: slideUp .6s .30s ease both; }

/* ── RIGHT PANEL (Form Card Container) ────────────────────────────────────── */
.rp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(226, 232, 240, 0.8);
    animation: slideLeft .6s .05s ease both;
}

/* ── FORM CARD (Modern Standard Dimensions) ────────────────────────────────── */
.form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 32px 28px;
    width: 100%;
    max-width: 420px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.03),
        0 10px 25px -3px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--g) 0%, var(--gl) 100%);
}

/* Card Logo */
.card-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.card-logo-img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

/* Header */
.form-hd {
    text-align: center;
    margin-bottom: 18px;
}

.form-hd-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--g);
    margin-bottom: 4px;
}

.form-hd-title {
    font-family: var(--fh);
    font-size: 21px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.3;
}

.form-hd-sub {
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}

/* Alerts */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    line-height: 1.4;
    margin-bottom: 16px;
    animation: shakeIn .35s ease;
}
.alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert i { margin-top: 2px; font-size: 12px; flex-shrink: 0; }

/* Login Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.field-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #334155;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.input-shell {
    position: relative;
    height: 42px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    transition: border-color .2s, box-shadow .2s, background .2s;
    display: flex;
    align-items: center;
}

.input-shell:focus-within {
    border-color: var(--g);
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--g12);
}

.shell-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    transition: color .2s;
    z-index: 2;
}

.input-shell:focus-within .shell-icon { color: var(--g); }

.field-input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #0f172a;
    font-family: var(--fb);
    font-size: 13.5px;
    font-weight: 500;
    padding-left: 42px !important;
    padding-right: 14px;
    box-sizing: border-box;
}
.field-input::placeholder { color: #94a3b8; font-weight: 400; }
.field-input[type="password"] { padding-right: 44px; }

.toggle-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 13px;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: color .2s;
}
.toggle-btn:hover { color: var(--g); }

/* Password strength bar */
.strength-bar {
    height: 3px; border-radius: 2px; margin-top: 4px;
    background: #e2e8f0; overflow: hidden; display: none;
}
.strength-fill {
    height: 100%; border-radius: 2px; width: 0%;
    transition: width .3s ease, background .3s ease;
}

/* Remember / Forgot row */
.form-foot-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2px;
}
.remember-row { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.remember-row input[type="checkbox"] {
    width: 14px; height: 14px; cursor: pointer;
    accent-color: var(--g); border-radius: 4px;
}
.remember-row span { font-size: 12px; color: #64748b; font-weight: 500; }

.forgot-link {
    font-size: 12px; color: var(--g);
    font-weight: 600; text-decoration: none;
    transition: opacity .2s;
}
.forgot-link:hover { opacity: .8; text-decoration: underline; }

/* Submit Button */
.btn-login {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-family: var(--fh);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, var(--g) 0%, var(--gd) 100%);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
    transition: transform .15s, box-shadow .15s, opacity .15s;
    position: relative;
    overflow: hidden;
    margin-top: 4px;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}
.btn-login:active   { transform: translateY(0); box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2); }
.btn-login:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn-inner { display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-arrow { transition: transform .2s; }
.btn-login:hover .btn-arrow { transform: translateX(3px); }

/* Spinner */
.spinner {
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .65s linear infinite;
    display: inline-block;
}

/* Divider & Trust Row */
.divider {
    display: flex; align-items: center; gap: 10px;
    margin: 14px 0 0;
}
.divider-line { flex: 1; height: 1px; background: #e2e8f0; }
.divider-text { font-size: 11px; color: #94a3b8; font-weight: 500; white-space: nowrap; }

.secure-row {
    display: flex; align-items: center;
    justify-content: center; gap: 14px;
    padding-top: 12px;
}
.sec-item {
    display: flex; align-items: center; gap: 4px;
    font-size: 11px; color: #64748b; font-weight: 500;
}
.sec-item i { font-size: 9.5px; color: var(--g); }

/* Keyframes */
@keyframes slideUp    { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes slideLeft  { from { opacity:0; transform:translateX(16px); } to { opacity:1; transform:translateX(0); } }
@keyframes shakeIn    { 0%{opacity:0;transform:translateX(-6px)} 50%{transform:translateX(4px)} 100%{opacity:1;transform:translateX(0)} }
@keyframes spin       { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 900px) {
    .page { grid-template-columns: 1fr; }
    .lp   { display: none; }
    .rp   { padding: 32px 16px; min-height: 100vh; background: #f8fafc; }
}

@media (max-width: 480px) {
    .form-card { padding: 24px 20px; border-radius: 12px; }
    .form-hd-title { font-size: 19px; }
}