/* Standalone ERP authentication. Storefront themes do not load this file. */
@font-face {
    font-family: "samscommerce";
    src: url("/fonts/sams/samscommerce.woff2") format("woff2");
    font-display: swap;
}

* { box-sizing: border-box; }
.login-body {
    min-height: 100vh;
    margin: 0;
    background: #050816;
    color: #f8fafc;
    font-family: "samscommerce", "samspro", "Avenir Next", "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    letter-spacing: 0;
}

.login-body button,
.login-body input,
.login-body select,
.login-body textarea {
    font: inherit;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 18px;
}

.login-card {
    width: min(358px, 100%);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: #050816;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .45);
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 26px 26px 18px;
    background: #050816;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.login-brand img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-width: 278px;
    max-height: 120px;
}

.login-wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    color: #ffffff;
    font-size: 1.38rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.login-wordmark strong {
    color: #8fb2ff;
    font-style: italic;
    font-weight: 800;
}

.login-card h1 {
    margin: 12px 24px 0;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
}

.login-card p {
    margin: 8px 26px 0;
    color: #667085;
    text-align: center;
}

.login-form {
    display: grid;
    gap: 10px;
    padding: 18px 24px 26px;
}

.login-field {
    display: grid;
    gap: 4px;
    color: #cbd5e1;
    font-size: .76rem;
    font-weight: 600;
}

.login-field input {
    min-height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 6px 9px;
    color: #ffffff;
    background: #0b1224;
    font-size: .9rem;
    border-color: #24324f;
}

.login-field input:focus {
    border-color: #2c7dff;
    outline: 2px solid rgba(44, 125, 255, .22);
}

.login-secondary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 24px;
    margin-top: 2px;
}

.login-remember {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #b8c7e6;
    font-size: .74rem;
    font-weight: 600;
    line-height: 1;
}

.login-remember input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #2c7dff;
}

.login-secondary a {
    color: #7db4ff;
    font-size: .74rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.login-secondary a:hover {
    color: #b8d5ff;
    text-decoration: underline;
}

.login-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 14px;
    border: 0;
    border-radius: 4px;
    background: #157cff;
    color: #fff;
    text-decoration: none;
    font-weight: 650;
    box-shadow: 0 10px 24px rgba(21, 124, 255, .22);
}

.login-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 14px;
    border: 0;
    border-radius: 4px;
    background: #157cff;
    color: #fff;
    text-decoration: none;
    font-weight: 650;
    box-shadow: 0 10px 24px rgba(21, 124, 255, .22);
}

.login-form button:hover {
    background: #2f8dff;
}

.login-link:hover {
    background: #2f8dff;
}

.login-error {
    margin: 14px 24px 0;
    padding: 8px 10px;
    border: 1px solid #fecdca;
    border-radius: 4px;
    background: rgba(127, 29, 29, .24);
    color: #fecaca;
    font-size: .84rem;
    border-color: rgba(248, 113, 113, .4);
}
