body.login-body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--bg);
}
@media (max-width: 900px) { body.login-body { grid-template-columns: 1fr; } }

.login-showcase {
    background: linear-gradient(160deg, var(--teal-700), #093F3A 78%);
    color: #fff;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 48px;
    position: relative;
    overflow: hidden;
}
@media (max-width: 900px) { .login-showcase { display: none; } }

.login-showcase .brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 18px; font-weight: 600; padding: 20px 0px;}
.login-showcase .brand .mark {
    width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.14);
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.login-showcase .headline { font-family: var(--font-display); font-size: 34px; line-height: 1.15; max-width: 460px; margin-top: 40px; }
.login-showcase .sub { font-size: 14px; opacity: .8; max-width: 420px; margin-top: 14px; }
.login-showcase .stats { display: flex; gap: 28px; margin-top: 40px; }
.login-showcase .stats div b { display: block; font-family: var(--font-display); font-size: 22px; }
.login-showcase .stats div span { font-size: 11.5px; opacity: .75; }
.login-showcase .pulse-line { margin-top: 30px; }
.login-showcase .pulse-line svg path { stroke: rgba(255,255,255,.85); }

.login-panel { display: flex; align-items: center; justify-content: center; padding: 32px; }
.login-form-wrap { width: 100%; max-width: 360px; }
.login-form-wrap h1 { font-size: 22px; margin-bottom: 4px; }
.login-form-wrap p.sub { color: var(--text-muted); font-size: 13px; margin-bottom: 26px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; color: var(--text-muted); }
.field input {
    width: 100%; padding: 10px 12px; border-radius: var(--radius-sm);
    border: 1px solid var(--border-color); background: var(--card-bg); color: var(--text); font-size: 14px;
}
.field input:focus { outline: 2px solid var(--teal-500); outline-offset: 1px; }

.login-alert {
    background: #FDEDEB; color: #9B3A2E; border: 1px solid #F6C7BF;
    padding: 10px 12px; border-radius: var(--radius-sm); font-size: 12.5px; margin-bottom: 16px;
}
[data-theme="dark"] .login-alert { background: #2A1614; color: #F4A79A; border-color: #4A2420; }

.login-submit { width: 100%; padding: 11px; }
.login-meta { margin-top: 22px; font-size: 11.5px; color: var(--text-muted); text-align: center; }
.brand{
    display:flex;
    align-items:center;
    gap:12px;
    padding:18px 20px;
}

.brand-logo{
    width:46px;
    height:46px;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    flex-shrink:0;

    display:flex;
    justify-content:center;
    align-items:center;
}

.brand-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.brand-text{
    display:flex;
    flex-direction:column;
    justify-content:center;
    overflow:hidden;
}

.brand-text h2{
    margin:0;
    font-size:18px;
    font-weight:700;
    line-height:1.2;
    color:#fff;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.brand-text span{
    margin-top:2px;
    font-size:12px;
    color:rgba(255,255,255,.75);
    font-weight:500;
}