/* =========================================================
   StayFitOS — Login Page
========================================================= */

.sfos-login {
    width: 100%;
    min-height: 100vh;

    display: grid;
    grid-template-columns: 66% 34%;

    background: #ffffff;
    color: #172033;

    font-family: Arial, sans-serif;

    overflow: hidden;
}

.sfos-login,
.sfos-login * {
    box-sizing: border-box;
}


/* =========================================================
   LEFT — HERO PANEL
========================================================= */

.sfos-login-hero {
    position: relative;

    min-height: 100vh;

    background: #2563eb;
    color: #ffffff;

    overflow: hidden;
}

.sfos-login-hero-inner {
    width: 100%;
    min-height: 100vh;

    padding: 52px;

    display: flex;
    flex-direction: column;
}


/* =========================================================
   BRAND
========================================================= */

.sfos-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.sfos-login-brand-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;

    flex: 0 0 auto;
}

.sfos-login-brand-icon svg {
    width: 23px;
    height: 23px;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.sfos-login-hero-content {
    max-width: 680px;

    margin-top: auto;
    margin-bottom: auto;
}

.sfos-login-hero-content h1 {
    margin: 0 0 24px;

    color: #ffffff;

    font-size: clamp(42px, 4.2vw, 66px);
    font-weight: 700;
    line-height: 1.02;

    letter-spacing: -2px;
}

.sfos-login-hero-content p {
    max-width: 680px;

    margin: 0;

    color: rgba(255, 255, 255, 0.90);

    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}


/* =========================================================
   STATS
========================================================= */

.sfos-login-stats {
    display: flex;
    align-items: flex-start;

    gap: 78px;

    margin-top: 48px;
}

.sfos-login-stat {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.sfos-login-stat strong {
    color: #ffffff;

    font-size: 30px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: -0.8px;
}

.sfos-login-stat span {
    color: rgba(255, 255, 255, 0.72);

    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
}


/* =========================================================
   HERO FOOTER
========================================================= */

.sfos-login-hero-footer {
    display: flex;
    align-items: center;

    gap: 9px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 12px;
    line-height: 1.4;
}

.sfos-login-shield {
    width: 18px;
    height: 18px;

    display: inline-flex;
    flex: 0 0 auto;
}

.sfos-login-shield svg {
    width: 100%;
    height: 100%;
}


/* =========================================================
   RIGHT — FORM PANEL
========================================================= */

.sfos-login-form-panel {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
}

.sfos-login-form-wrap {
    width: min(100%, 460px);

    padding: 48px;
}


/* =========================================================
   LOGIN HEADING
========================================================= */

.sfos-login-heading {
    margin-bottom: 42px;
}

.sfos-login-heading h2 {
    margin: 0 0 9px;

    color: #111827;

    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;

    letter-spacing: -0.8px;
}

.sfos-login-heading p {
    margin: 0;

    color: #7b8497;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}


/* =========================================================
   FORM FIELDS
========================================================= */

.sfos-login-field {
    margin-bottom: 24px;
}

.sfos-login-field label,
.sfos-login-label-row label {
    display: block;

    margin-bottom: 9px;

    color: #172033;

    font-size: 13px;
    font-weight: 600;
}

.sfos-login-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.sfos-login-label-row label {
    margin-bottom: 9px;
}

.sfos-login-forgot {
    margin-bottom: 9px;

    color: #2563eb;

    font-size: 12px;
    font-weight: 500;

    text-decoration: none;
}

.sfos-login-forgot:hover {
    text-decoration: underline;
}


/* =========================================================
   INPUTS
========================================================= */

.sfos-login-form input[type="text"],
.sfos-login-form input[type="password"] {
    width: 100%;
    height: 52px;

    padding: 0 16px;

    border: 1px solid #dfe4eb;
    border-radius: 12px;

    background: #ffffff;

    color: #172033;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.04);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.sfos-login-form input[type="text"]::placeholder,
.sfos-login-form input[type="password"]::placeholder {
    color: #a0a8b7;
}

.sfos-login-form input[type="text"]:focus,
.sfos-login-form input[type="password"]:focus {
    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.10);
}


/* =========================================================
   PASSWORD FIELD
========================================================= */

.sfos-login-password-wrap {
    position: relative;
}

.sfos-login-password-wrap input {
    padding-right: 52px !important;
}

.sfos-login-password-toggle {
    position: absolute;

    top: 50%;
    right: 14px;

    width: 32px;
    height: 32px;

    padding: 0;

    transform: translateY(-50%);

    border: 0;

    background: transparent;
    color: #7b8497;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

.sfos-login-password-toggle:hover {
    color: #2563eb;
}

.sfos-login-password-toggle svg {
    width: 19px;
    height: 19px;
}


/* =========================================================
   REMEMBER ME
========================================================= */

.sfos-login-options {
    margin-top: -2px;
    margin-bottom: 25px;
}

.sfos-login-remember {
    display: inline-flex !important;
    align-items: center;

    gap: 9px;

    margin: 0 !important;

    color: #7b8497 !important;

    font-size: 13px !important;
    font-weight: 400 !important;

    cursor: pointer;
}

.sfos-login-remember input {
    width: 17px !important;
    height: 17px !important;

    margin: 0 !important;

    accent-color: #2563eb;

    cursor: pointer;
}


/* =========================================================
   SIGN IN BUTTON
========================================================= */

.sfos-login-submit {
    width: 100%;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    padding: 0 20px;

    border: 0;
    border-radius: 12px;

    background: #2563eb;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 5px 12px rgba(37, 99, 235, 0.20);

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.sfos-login-submit svg {
    width: 18px;
    height: 18px;

    transition: transform 0.2s ease;
}

.sfos-login-submit:hover {
    background: #1d4ed8;

    transform: translateY(-1px);

    box-shadow:
        0 8px 18px rgba(37, 99, 235, 0.24);
}

.sfos-login-submit:hover svg {
    transform: translateX(3px);
}

.sfos-login-submit:active {
    transform: translateY(0);
}


/* =========================================================
   SECURITY MESSAGE
========================================================= */

.sfos-login-security {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 24px;

    color: #8a93a5;

    font-size: 11px;
    line-height: 1.5;

    text-align: center;
}

.sfos-login-security-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #22c55e;

    flex: 0 0 auto;
}


/* =========================================================
   ELEMENTOR RESET
========================================================= */

.sfos-login h1,
.sfos-login h2,
.sfos-login p {
    margin-top: 0;
}

.sfos-login-form-panel input,
.sfos-login-form-panel button {
    font-family: inherit;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .sfos-login {
        grid-template-columns: 58% 42%;
    }

    .sfos-login-hero-inner {
        padding: 40px;
    }

    .sfos-login-hero-content h1 {
        font-size: 46px;
    }

    .sfos-login-stats {
        gap: 35px;
    }

    .sfos-login-stat strong {
        font-size: 25px;
    }

    .sfos-login-form-wrap {
        padding: 40px 30px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .sfos-login {
        display: block;

        min-height: 100vh;
    }

    .sfos-login-hero {
        min-height: auto;
    }

    .sfos-login-hero-inner {
        min-height: auto;

        padding: 30px 24px 34px;
    }

    .sfos-login-brand-icon {
        width: 36px;
        height: 36px;
    }

    .sfos-login-brand {
        font-size: 18px;
    }

    .sfos-login-hero-content {
        margin: 72px 0 55px;
    }

    .sfos-login-hero-content h1 {
        font-size: 36px;

        line-height: 1.06;

        letter-spacing: -1.2px;
    }

    .sfos-login-hero-content p {
        font-size: 14px;

        line-height: 1.6;
    }

    .sfos-login-stats {
        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 16px;

        margin-top: 34px;
    }

    .sfos-login-stat strong {
        font-size: 20px;
    }

    .sfos-login-stat span {
        font-size: 11px;
    }

    .sfos-login-hero-footer {
        font-size: 10px;
    }

    .sfos-login-form-panel {
        min-height: auto;
    }

    .sfos-login-form-wrap {
        width: 100%;

        padding: 42px 24px 50px;
    }

    .sfos-login-heading {
        margin-bottom: 32px;
    }

    .sfos-login-heading h2 {
        font-size: 28px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .sfos-login-hero-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sfos-login-hero-content {
        margin-top: 55px;
    }

    .sfos-login-hero-content h1 {
        font-size: 31px;
    }

    .sfos-login-stats {
        gap: 10px;
    }

    .sfos-login-stat strong {
        font-size: 18px;
    }

    .sfos-login-stat span {
        font-size: 10px;
    }

    .sfos-login-form-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }
}