/* =========================================================
   SHIFTIFY SCOUT LOGIN
   ========================================================= */

.scout-login-page {
    min-height: calc(100vh - 120px);
    padding: 55px 20px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    position: relative;
}

.scout-login-container {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 70px;
    align-items: center;
}


/* =========================================================
   LEFT INTRO
   ========================================================= */

.scout-login-intro {
    max-width: 560px;
}

.scout-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #64748b;
    margin-bottom: 18px;
}

.scout-eyebrow>span {
    width: 7px;
    height: 7px;
    background: #ff5a1f;
    border-radius: 50%;
}

.scout-login-intro h1 {
    margin: 0 0 18px;
    color: #111827;
    font-size: 43px;
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -1.5px;
}

.scout-login-intro h1 strong {
    display: block;
    color: #ff5a1f;
    font-weight: 700;
}

.scout-intro-copy {
    max-width: 520px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   HOW IT WORKS
   ========================================================= */

.scout-how-it-works {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.scout-mini-step {
    display: flex;
    align-items: center;
    gap: 13px;
}

.scout-mini-step>span {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #ff5a1f;
    font-size: 9px;
    font-weight: 700;
}

.scout-mini-step div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.scout-mini-step strong {
    color: #1e293b;
    font-size: 11px;
    font-weight: 700;
}

.scout-mini-step small {
    color: #94a3b8;
    font-size: 10px;
}


/* =========================================================
   LOGIN CARD
   ========================================================= */

.scout-login-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 30px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}


/* =========================================================
   FORM HEADER
   ========================================================= */

.scout-form-header {
    margin-bottom: 22px;
}

.scout-form-label {
    display: block;
    margin-bottom: 9px;
    color: #ff5a1f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.scout-form-header h2 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 500;
}

.scout-form-header h2 span {
    color: #ff5a1f;
    font-weight: 700;
}

.scout-form-header p {
    margin: 0;
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.6;
}


/* =========================================================
   MESSAGES
   ========================================================= */

.scout-success-message,
.scout-error-message {
    padding: 9px 12px;
    margin-bottom: 14px;
    border-radius: 5px;
    font-size: 10px;
    line-height: 1.5;
    font-weight: 600;
}

.scout-success-message {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.scout-error-message {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
}


/* =========================================================
   FORM
   ========================================================= */

.scout-login-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.scout-field {
    width: 100%;
}

.scout-field label {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-size: 10px;
    font-weight: 700;
}

.scout-field label span {
    color: #ff5a1f;
}

.scout-input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dbe2ea;
    border-radius: 5px;
    background: #fff;
    color: #1e293b;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}

.scout-input::placeholder {
    color: #a8b1bd;
}

.scout-input:focus {
    border-color: #ff5a1f;
    box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.08);
}


/* =========================================================
   VALIDATION ERROR
   ========================================================= */

.scout-error {
    display: block;
    margin-top: 5px;
    color: #e11d48;
    font-size: 9px;
    line-height: 1.4;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.scout-submit-button {
    width: 100%;
    height: 42px;
    margin-top: 3px;
    padding: 0 15px;
    border: 0;
    border-radius: 5px;
    background: #ff5a1f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    transition: background .2s, transform .2s;
}

.scout-submit-button:hover {
    background: #e94d16;
}

.scout-submit-button span {
    font-size: 18px;
    line-height: 1;
}


/* =========================================================
   REGISTER LINK
   ========================================================= */

.scout-login-link {
    text-align: center;
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.5;
}

.scout-login-link a {
    color: #ff5a1f;
    font-weight: 700;
    text-decoration: none;
}

.scout-login-link a:hover {
    text-decoration: underline;
}


/* =========================================================
   LOADER
   ========================================================= */

.scout-form-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(3px);
}

.scout-form-loader.active {
    display: flex;
}

.scout-loader-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #e2e8f0;
    border-top-color: #ff5a1f;
    border-radius: 50%;
    animation: scoutLoaderSpin .7s linear infinite;
}

.scout-form-loader span {
    color: #334155;
    font-size: 11px;
    font-weight: 700;
}

@keyframes scoutLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .scout-login-container {
        grid-template-columns: 1fr;
        gap: 35px;
        max-width: 560px;
    }

    .scout-login-intro {
        max-width: 100%;
        text-align: center;
    }

    .scout-intro-copy {
        margin: 0 auto;
    }

    .scout-how-it-works {
        text-align: left;
    }

    .scout-login-card {
        width: 100%;
        box-sizing: border-box;
    }
}


@media (max-width: 600px) {

    .scout-login-page {
        padding: 35px 15px;
    }

    .scout-login-intro h1 {
        font-size: 32px;
    }

    .scout-login-card {
        padding: 22px 18px;
    }

    .scout-form-header h2 {
        font-size: 21px;
    }
}