﻿
* {
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
}

.erp-login-wrap {
    display: flex;
    min-height: 100vh;
}

/* ── LEFT PANEL ── */
.erp-left {
    width: 55%;
    background: #0d1117;
    padding: 48px 52px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.erp-left-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 20% 25%, rgba(79,70,229,.28) 0%, transparent 60%), radial-gradient(ellipse 50% 40% at 80% 75%, rgba(16,185,129,.18) 0%, transparent 60%);
    pointer-events: none;
}

.erp-dot-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.erp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.erp-brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #1e1b4b;
    border: 1px solid #3730a3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.erp-brand-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    font-family: 'Syne', sans-serif;
}

.erp-brand-ver {
    font-size: 11px;
    color: rgba(255,255,255,.35);
    margin-top: 2px;
}

.erp-online-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16,185,129,.1);
    border: 1px solid rgba(16,185,129,.25);
    border-radius: 100px;
    padding: 5px 12px;
    margin-left: auto;
}

.erp-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    animation: erpPulse 2s infinite;
}

@keyframes erpPulse {
    0%,100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .5;
        transform: scale(1.4);
    }
}

.erp-online-txt {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    letter-spacing: .12em;
    font-family: 'Syne', sans-serif;
}

.erp-hero {
    position: relative;
    z-index: 2;
}

.erp-secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99,102,241,.12);
    border: 1px solid rgba(99,102,241,.25);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 20px;
}

    .erp-secure-badge span {
        font-size: 11px;
        font-weight: 700;
        color: #818cf8;
        letter-spacing: .14em;
        text-transform: uppercase;
        font-family: 'Syne', sans-serif;
    }

.erp-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
    font-family: 'Syne', sans-serif;
}

    .erp-hero-title .grad {
        background: linear-gradient(90deg, #818cf8, #34d399);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.erp-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.erp-div1 {
    height: 3px;
    width: 48px;
    border-radius: 2px;
    background: #4f46e5;
}

.erp-div2 {
    height: 3px;
    width: 20px;
    border-radius: 2px;
    background: rgba(16,185,129,.4);
}

.erp-hero-desc {
    font-size: 13.5px;
    color: rgba(255,255,255,.5);
    line-height: 1.7;
    max-width: 340px;
    margin-bottom: 20px;
}

.erp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.erp-chip {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,.45);
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 100px;
    padding: 4px 12px;
}

.erp-stats {
    border-top: 1px solid rgba(255,255,255,.07);
    padding-top: 24px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.erp-stat {
    padding-right: 20px;
    border-right: 1px solid rgba(255,255,255,.07);
}

    .erp-stat:last-child {
        border-right: none;
        padding-left: 20px;
        padding-right: 0;
    }

    .erp-stat:nth-child(2) {
        padding-left: 20px;
    }

.erp-stat-val {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    font-family: 'Syne', sans-serif;
}

    .erp-stat-val .u {
        font-size: 13px;
        font-weight: 700;
    }

.erp-stat-lbl {
    font-size: 11px;
    color: rgba(255,255,255,.3);
    margin-top: 3px;
    font-weight: 500;
}

.erp-clock {
    font-size: 11px;
    color: rgba(255,255,255,.2);
    font-family: 'JetBrains Mono', monospace;
    margin-top: 16px;
    position: relative;
    z-index: 2;
}

/* ── RIGHT PANEL ── */
.erp-right {
    width: 45%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 52px;
    position: relative;
}

.erp-top-stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4338ca, #6366f1, #10b981);
}

.erp-form-wrap {
    width: 100%;
    max-width: 360px;
}

.erp-form-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #4f46e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}

.erp-form-heading {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    font-family: 'Syne', sans-serif;
}

    .erp-form-heading .accent {
        color: #4f46e5;
    }

.erp-form-sub {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 6px;
    font-weight: 500;
    margin-bottom: 24px;
}

.erp-field {
    margin-bottom: 16px;
}

.erp-field-label {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 7px;
    font-family: 'Syne', sans-serif;
}

.erp-input-wrap {
    position: relative;
}

.erp-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #94a3b8;
    pointer-events: none;
}

.erp-input {
    width: 100%;
    padding: 11px 12px 11px 38px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    transition: border .2s, box-shadow .2s;
}

    .erp-input:focus {
        border-color: #4f46e5;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(79,70,229,.10);
    }

    .erp-input::placeholder {
        color: #cbd5e1;
        font-weight: 400;
    }

.erp-pw-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 15px;
    transition: color .2s;
}

    .erp-pw-toggle:hover {
        color: #4f46e5;
    }

.erp-pw-forgot {
    text-align: right;
    margin-bottom: 6px;
}

    .erp-pw-forgot a {
        font-size: 11px;
        font-weight: 700;
        color: #4f46e5;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

.erp-captcha-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.erp-captcha-box {
    flex: 1;
    padding: 10px 14px;
    background: #0f172a;
    border-radius: 10px;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .4em;
    font-style: italic;
    color: #818cf8;
    border: 1px solid rgba(99,102,241,.3);
    user-select: none;
}

.erp-refresh-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    font-size: 16px;
    transition: all .2s;
    flex-shrink: 0;
}

    .erp-refresh-btn:hover {
        border-color: #4f46e5;
        color: #4f46e5;
        background: rgba(79,70,229,.05);
    }

    .erp-refresh-btn i {
        transition: transform .5s ease;
    }

.erp-captcha-input {
 
    padding: 10px 8px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #0f172a;
    outline: none;
    transition: all .2s;
    flex-shrink: 0;
}

    .erp-captcha-input:focus {
        border-color: #4f46e5;
        background: #fff;
        box-shadow: 0 0 0 3px rgba(79,70,229,.10);
    }

.erp-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 20px;
}

    .erp-remember input {
        width: 14px;
        height: 14px;
        accent-color: #4f46e5;
        cursor: pointer;
    }

    .erp-remember label {
        font-size: 11px;
        font-weight: 700;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: .1em;
        cursor: pointer;
        font-family: 'Syne', sans-serif;
    }

.erp-submit-btn {
    width: 100%;
    padding: 13px;
    background: #4f46e5;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .2s;
    font-family: 'Syne', sans-serif;
}

    .erp-submit-btn:hover {
        background: #4338ca;
        transform: translateY(-1px);
    }

    .erp-submit-btn:active {
        transform: translateY(0);
    }

.erp-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.erp-footer-txt {
    font-size: 12.5px;
    color: #94a3b8;
}

    .erp-footer-txt a {
        color: #4f46e5;
        font-weight: 700;
        text-decoration: none;
    }

.erp-secure-note {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    font-family: 'Syne', sans-serif;
}

.erp-error-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.erp-error-icon {
    color: #f43f5e;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.erp-error-txt {
    font-size: 12.5px;
    font-weight: 600;
    color: #be123c;
}

@media (max-width: 768px) {
    .erp-left {
        display: none;
    }

    .erp-right {
        width: 100%;
    }
}


