*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background: #111;
    color: #1a1a1a;
    min-height: 100vh;
    display: flex;
    -webkit-font-smoothing: antialiased;
}

/* ── Left panel (dark brand) ── */
.login-brand {
    width: 420px;
    flex-shrink: 0;
    background: #111;
    background-image:
        radial-gradient(ellipse 300px 300px at 80% 20%, rgba(255,150,0,0.08) 0%, transparent 65%),
        radial-gradient(ellipse 200px 200px at 10% 90%, rgba(255,150,0,0.05) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 44px;
    position: relative;
    overflow: hidden;
}

/* Decorative grid lines */
.login-brand::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: 40px 40px;
    pointer-events: none;
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
}

.brand-logo-wrap img {
    max-width: 150px;
    max-height: 52px;
    object-fit: contain;
    border-radius: 12px;
}

.brand-center {
    position: relative;
    z-index: 1;
}

.brand-eyebrow {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 18px;
}

.brand-headline {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.brand-headline span {
    color: #FF9600;
    display: block;
}

.brand-sub {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.38);
    font-weight: 500;
    line-height: 1.65;
    max-width: 280px;
}

/* Feature pills */
.brand-pills {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 36px;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: rgba(255,255,255,0.65);
    font-size: 12px;
    font-weight: 500;
    width: fit-content;
}

.brand-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FF9600;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(255,150,0,0.6);
}

.brand-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.brand-footer span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.2);
}

.brand-footer img {
    max-width: 80px;
    max-height: 20px;
    object-fit: contain;
    opacity: 0.22;
    transition: opacity 0.3s;
}
.brand-footer img:hover { opacity: 0.55; }

/* ── Right panel (form) ── */
.login-form-panel {
    flex: 1;
    background: #F2F3F6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.login-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
    padding: 44px 40px 36px;
    width: 100%;
    max-width: 400px;
}

.login-title {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.login-title span { color: #FF9600; }

.login-sub {
    font-size: 13px;
    color: #9898A6;
    font-weight: 500;
    margin-bottom: 32px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    color: #5C5C6B;
}

.form-group input {
    width: 100%;
    padding: 0 14px;
    height: 44px;
    border: 1.5px solid #E4E4E7;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.form-group input:focus {
    outline: none;
    border-color: #FF9600;
    box-shadow: 0 0 0 3px rgba(255,150,0,0.12);
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    background: #FF9600;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s, transform 0.12s;
    box-shadow: 0 3px 10px rgba(255,150,0,0.30);
    letter-spacing: 0.1px;
    margin-top: 4px;
}

.btn:hover {
    background: #E68000;
    box-shadow: 0 5px 18px rgba(255,150,0,0.38);
    transform: translateY(-1px);
}

.btn:active { transform: translateY(0); }

.remember-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: -2px 0 20px;
    cursor: pointer;
    user-select: none;
}
.remember-row input {
    width: 16px;
    height: 16px;
    accent-color: #FF9600;
    cursor: pointer;
    flex-shrink: 0;
}
.remember-row span {
    font-size: 12.5px;
    font-weight: 500;
    color: #5C5C6B;
}

.alert-error {
    padding: 13px 16px;
    border-radius: 10px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 500;
    background: #FEF3F3;
    color: #C02020;
    border: 1.5px solid #FDDCDC;
}

/* Mobile collapse */
@media (max-width: 860px) {
    body { flex-direction: column; background: #F2F3F6; }
    .login-brand {
        width: 100%;
        padding: 32px 28px;
        min-height: auto;
    }
    .brand-headline { font-size: 36px; }
    .brand-pills { display: none; }
    .brand-center { padding: 20px 0 8px; }
}

@media (max-width: 480px) {
    .login-container { padding: 32px 24px 28px; }
}

