/* ============================================================
   StockIQ Login — New Design
   ============================================================ */

/* ── Basic Sans ── */
@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/basic-sans/Basic-Sans-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/basic-sans/Basic-Sans-Thin-Italic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/basic-sans/Basic-Sans-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/basic-sans/Basic-Sans-ExtraLight-Italic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/basic-sans/Basic-Sans-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/basic-sans/Basic-Sans-Light-Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/basic-sans/Basic-Sans.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/basic-sans/Basic-Sans-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/basic-sans/Basic-Sans-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/basic-sans/Basic-Sans-SemiBold-Italic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/basic-sans/Basic-Sans-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/basic-sans/Basic-Sans-Bold-Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/basic-sans/Basic-Sans-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Basic Sans';
    src: url('../fonts/basic-sans/Basic-Sans-Black-Italic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
}

:root {
    --siq-red: #C8312A;
    --input-bg: #F5ECEC;
    --promo-bg: #FEF0EE;
    --login-font: 'Basic Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Shell ── */
.login-shell {
    display: flex;
    min-height: 100vh;
    font-family: var(--login-font);
}

/* ── Left panel ── */
.login-left-panel {
    width: 35%;
    min-width: 260px;
    background-image: url('../images/redwarehouse.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 2.5rem;
    flex-shrink: 0;
}

.login-left-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(175, 28, 18, 0.45);
}

.login-left-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    width: 100%;
}

.login-left-topbar {
    display: flex;
    align-items: flex-end;
    min-height: 101px;
    margin-bottom: 3rem;
}

.login-welcome {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    letter-spacing: 0.01em;
}

.login-tagline {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* ── Right panel ── */
.login-right-panel {
    flex: 1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

.login-right-inner {
    flex: 1;
    display: grid;
    grid-template-rows: 0.75fr 1.25fr 1fr;
}

/* Top third */
.login-right-top {
    display: flex;
    align-items: flex-start;
    padding: 2.5rem 4rem 0;
}

/* Middle third */
.login-right-body {
    display: flex;
    align-items: stretch;
    padding: 4rem 4rem 0;
}

/* Bottom third */
.login-right-bottom {
    display: flex;
    align-items: stretch;
    padding: 2.5rem 4rem;
}

/* Top bar: heading left, logo right */
.login-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.login-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.login-logo {
    max-height: 75px;
    max-width: 200px;
    object-fit: contain;
}

/* ── Form ── */
.login-form-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .login-form-area form {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

.login-input {
    display: block;
    width: 100%;
    padding: 1.2rem 1.8rem;
    margin-bottom: 1.2rem;
    background-color: var(--input-bg);
    border: none;
    border-radius: 999px;
    font-size: 1.8rem;
    font-family: var(--login-font);
    color: #333;
    outline: none;
    box-shadow: none;
    transition: background-color 0.15s;
}

    .login-input:focus {
        background-color: #EEE0E0;
    }

    .login-input::placeholder {
        color: #999;
    }

.login-input-note {
    margin-bottom: 1.5rem;
    margin-right: 1.5rem;
    color: #555;
    font-size: 1.25rem;
    text-align: right;
}

.login-input-note {
    margin-bottom: 1.5rem;
    margin-right: 1.5rem;
    color: #555;
    font-size: 1.25rem;
    text-align: right;
}
.login-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-top: 0.25rem;
}

.login-forgot {
    display: inline-block;
    padding: 0.72rem 2.1rem;
    border: 1.5px solid #333;
    border-radius: 999px;
    font-size: 1.58rem;
    font-weight: 500;
    font-family: var(--login-font);
    color: #1a1a1a;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}

    .login-forgot:hover,
    .login-forgot:focus {
        background-color: #1a1a1a;
        color: #ffffff;
        text-decoration: none;
    }

.login-btn-primary {
    padding: 0.9rem 2.7rem;
    background-color: var(--siq-red);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-size: 1.52rem;
    font-weight: 600;
    font-family: var(--login-font);
    cursor: pointer;
    transition: background-color 0.15s;
}

    .login-btn-primary:hover,
    .login-btn-primary:focus {
        background-color: #a82520;
        color: #ffffff;
    }

/* Validation errors */
.login-validation-errors {
    background-color: #fdf2f2;
    border: 1px solid #e8c8c8;
    border-radius: 8px;
    padding: 0.875rem 1.25rem;
    margin-bottom: 1.25rem;
    color: #9b1c1c;
    font-size: 1.8rem;
}

    .login-validation-errors ul {
        margin: 0.25rem 0 0 1rem;
    }

/* ── Promo panel ── */
.promo-panel {
    background-color: var(--promo-bg);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.promo-content {
    flex: 1;
    min-width: 0;
}

.promo-label {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--siq-red);
    margin-bottom: 0.5rem;
}

.promo-heading {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.promo-body {
    font-size: 2.0rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.promo-btn {
    display: inline-block;
    padding: 0.6rem 1.75rem;
    border: 1.5px solid #333;
    border-radius: 999px;
    font-size: 1.9rem;
    font-weight: 500;
    font-family: var(--login-font);
    color: #1a1a1a;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}

    .promo-btn:hover,
    .promo-btn:focus {
        background-color: #1a1a1a;
        color: #ffffff;
        text-decoration: none;
    }

.promo-image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .promo-image img {
        max-width: 400px;
        /*max-height: 140px;*/
        min-width: 300px;
        /*min-height: 140px;*/
        width: 350px;
        height: auto;
        object-fit: contain;
    }
