﻿/* Standalone login: no Vite server or application JavaScript required. */
* { box-sizing: border-box; }
body { margin: 0; font-family: Poppins, sans-serif; color: #1f1f1f; }
input, button { font: inherit; }
.btn-save,
.btn,
.btn-mini {
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-save,
.btn {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #1f1f1f;
    background: #1f1f1f;
    color: #fff;
}
.btn { width: 100%; }
.login-shell {
    min-height: 100vh;
    padding: 20px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-layout {
    width: min(1120px, 100%);
    margin: 0;
    min-height: min(720px, calc(100vh - 40px));
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    border-radius: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}

@media (max-width: 1200px) {
    .login-layout {
        grid-template-columns: 1fr 1fr;
        min-height: min(660px, calc(100vh - 40px));
    }

    .login-brand-panel,
    .login-wrap {
        padding: 0 30px;
    }

    .login-brand-logo {
        width: min(440px, 92%);
    }
}

.login-brand-panel {
    background: #ffffff;
    color: #111;
    border-right: 1px solid #e3e3e3;
    padding: 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-brand-logo {
    width: min(520px, 96%);
    height: auto;
    object-fit: contain;
}

.login-brand-panel h1 {
    margin: 0;
    font-size: clamp(1.45rem, 2vw, 2.05rem);
    letter-spacing: -0.02em;
}

.login-brand-panel p {
    margin: 0;
    color: #4f4f4f;
    font-size: 0.94rem;
    line-height: 1.55;
    max-width: 520px;
}

.login-brand-points {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
}

.login-brand-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #303030;
    font-size: 0.88rem;
}

.login-brand-points i {
    color: #111;
}

.login-brand-link {
    margin-top: 6px;
    height: 42px;
    width: fit-content;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid #1f1f1f;
    color: #fff;
    background: #1f1f1f;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.login-brand-link:hover {
    background: #111;
}

.login-wrap {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 46px;
}

.login-card {
    width: min(420px, 100%);
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.login-card h2 {
    margin: 0 0 16px;
    font-size: 1.55rem;
    letter-spacing: -0.02em;
}

.login-card-sub {
    margin: -8px 0 14px;
    color: #5f5f5f;
    font-size: 0.9rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.login-card .form-row input {
    height: 42px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    padding: 0 10px;
}

.error {
    margin: 0 0 12px;
    color: #111;
    font-size: .92rem;
    background: transparent;
    border: 0;
    border-left: 2px solid #1f1f1f;
    border-radius: 0;
    padding: 4px 0 4px 10px;
}

.login-card .form-row input:focus {
    border-color: #1f1f1f;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
    outline: none;
}

.login-shell .login-card,
.login-shell .login-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 980px) {
    .login-shell {
        padding: 12px;
        align-items: stretch;
    }

    .login-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .login-brand-panel {
        padding: 22px 16px;
        border-right: 0;
        border-bottom: 1px solid #e3e3e3;
        min-height: 220px;
    }

    .login-brand-logo {
        width: min(460px, 92%);
    }

    .login-wrap {
        padding: 22px 16px 18px;
    }

    .login-card {
        padding: 0;
    }

    .login-card h2,
    .login-card-sub {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .login-brand-panel {
        min-height: 180px;
        padding: 18px 12px;
    }

    .login-brand-logo {
        width: min(360px, 94%);
    }

    .login-card {
        width: 100%;
    }

    .form-row {
        margin-bottom: 10px;
    }

    .form-row input {
        height: 44px;
    }

    .btn {
        min-height: 44px;
    }
}
/* LOGIN CENTERED OVERRIDE (MOBILE/TABLET ONLY) */
@media (max-width: 980px) {
    .login-shell {
        min-height: 100vh;
        padding: 12px;
        background: #fff;
        display: flex;
        align-items: stretch;
        justify-content: center;
    }

    .login-layout {
        width: min(560px, 100%);
        min-height: calc(100vh - 24px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 4px;
        padding-top: 24px;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .login-brand-panel {
        border: 0;
        padding: 0;
        min-height: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-brand-logo {
        width: min(190px, 52vw);
        height: auto;
        object-fit: contain;
    }

    .login-wrap {
        width: 100%;
        padding: 8px 0 0;
        margin-top: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .login-wrap::before {
        content: none;
    }

    .login-card {
        width: min(400px, 100%);
        border: 0;
        box-shadow: none;
        padding: 0;
    }

    .login-card h2,
    .login-card-sub {
        text-align: center;
    }
}

@media (max-width: 640px) {
    .login-layout {
        padding-top: 56px;
    }

    .login-brand-logo {
        width: min(160px, 48vw);
    }
}

/* Quantum manual: primary action red; neutral page and official secondary font. */
.login-shell{font-family:Poppins,sans-serif;color:#1e1e1e}.login-shell .btn{background:#b50e0e;border-color:#b50e0e}.login-shell .btn:hover{background:#9a0101;border-color:#9a0101}.login-shell input:focus,.login-shell textarea:focus{border-color:#b50e0e;outline-color:#b50e0e}
