/* ================================================
 * TABS — centered, transparent, pill shape
 * ============================================== */
.lmsc-auth .lmsc-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.lmsc-auth .lmsc-tab-btn {
    padding: 8px 32px;
    cursor: pointer;
    border: 2px solid #ffffff;
    background: transparent !important;
    background-color: transparent !important;
    color: #ffffff !important;
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-decoration: none !important;
}

.lmsc-auth .lmsc-tab-btn:hover {
    background: rgba(18, 96, 142, 0.25) !important;
    background-color: rgba(18, 96, 142, 0.25) !important;
    border-color: #12608E !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.lmsc-auth .lmsc-tab-btn.active,
.lmsc-auth .lmsc-tab-btn.active:hover,
.lmsc-auth .lmsc-tab-btn.active:focus {
    background: #12608E !important;
    background-color: #12608E !important;
    border-color: #12608E !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ================================================
 * TAB PANELS
 * ============================================== */
.lmsc-auth .lmsc-tab        { display: none; }
.lmsc-auth .lmsc-tab.active { display: block; }

/* ================================================
 * FIELD GROUPS
 * ============================================== */
.lmsc-form .lmsc-field {
    display: block;
    width: 100%;
    margin-bottom: 18px;
    box-sizing: border-box;
}

/* ================================================
 * LABELS — 16px desktop
 * ============================================== */
.lmsc-form label {
    display: block;
    padding-bottom: 12px;
    color: var(--e-global-color-b9ec9d9, #ffffff);
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.lmsc-required { color: #ff6b6b; }

/* ================================================
 * INPUTS
 * ============================================== */
.lmsc-form .lmsc-input {
    display: block;
    width: 100%;
    padding: .5rem 1rem;
    border: 1px solid #ffffff;
    border-radius: 3px;
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    box-sizing: border-box;
    background: transparent;
    color: #ffffff;
    box-shadow: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

/* Filled / focused -> white background, dark text.
   background-color NOT background shorthand —
   shorthand resets background-image (select arrow). */
.lmsc-form .lmsc-input:focus,
.lmsc-form .lmsc-input:not(:placeholder-shown) {
    outline: none;
    background-color: #ffffff;
    color: #1f2124;
    border-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(18, 96, 142, 0.3);
}

.lmsc-form .lmsc-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

/* ================================================
 * SELECT — native arrow kept
 * ============================================== */
.lmsc-form select.lmsc-input {
    cursor: pointer;
    padding-right: 2rem;
}

.lmsc-form select.lmsc-input option {
    background: #1f2124;
    color: #ffffff;
}

/* ================================================
 * PASSWORD WRAPPER + EYE BUTTON
 * ============================================== */
.lmsc-pass {
    position: relative;
    display: block;
    width: 100%;
}

.lmsc-pass .lmsc-input {
    padding-right: 46px;
}

.lmsc-eye-btn,
.lmsc-eye-btn:hover,
.lmsc-eye-btn:focus,
.lmsc-eye-btn:active {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    background-color: transparent !important;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    line-height: 1;
    transition: color 0.2s;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* Input focused -> icon black */
.lmsc-pass:focus-within .lmsc-eye-btn,
.lmsc-pass:focus-within .lmsc-eye-btn:hover,
.lmsc-pass:focus-within .lmsc-eye-btn:focus {
    color: #000000 !important;
    background-color: transparent !important;
}

/* Input filled but not focused -> also black */
.lmsc-pass:has(.lmsc-input:not(:placeholder-shown)) .lmsc-eye-btn,
.lmsc-pass:has(.lmsc-input:not(:placeholder-shown)) .lmsc-eye-btn:hover {
    color: #000000 !important;
    background-color: transparent !important;
}

/* ================================================
 * SUBMIT BUTTON
 * ============================================== */
.lmsc-btn {
    display: inline-block;
    padding: 10px 28px;
    background: #12608E !important;
    background-color: #12608E !important;
    color: #ffffff !important;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-family: "Montserrat", Sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    transition: opacity 0.2s;
    text-decoration: none !important;
}

.lmsc-btn:hover,
.lmsc-btn:focus,
.lmsc-btn:active {
    background: #12608E !important;
    background-color: #12608E !important;
    color: #ffffff !important;
    opacity: 0.85;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* ================================================
 * REMEMBER ME
 * ============================================== */
.lmsc-remember-row {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: .85em;
}

.lmsc-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--e-global-color-b9ec9d9, #ffffff);
    font-family: "Poppins", Sans-serif;
    font-weight: 400;
    line-height: 1.4;
    padding-bottom: 0;
    margin-bottom: 0;
}

.lmsc-remember input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
    cursor: pointer;
    accent-color: #12608E;
    flex-shrink: 0;
}

/* ================================================
 * LOST PASSWORD
 * ============================================== */
.lmsc-lost-password-row {
    margin-top: 14px;
    font-size: .85em;
}

.lmsc-lost-password {
    color: var(--e-global-color-b9ec9d9, #ffffff);
    font-family: "Poppins", Sans-serif;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s;
}

.lmsc-lost-password:hover {
    opacity: 0.75;
    color: #ffffff;
}

/* ================================================
 * TERMS & CONDITIONS
 * ============================================== */
.lmsc-terms-field {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.lmsc-form .lmsc-terms-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    cursor: pointer !important;
    color: var(--e-global-color-b9ec9d9, #ffffff) !important;
    font-family: "Poppins", Sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.lmsc-terms-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    margin-top: 3px;
    cursor: pointer;
    accent-color: #12608E;
    flex-shrink: 0;
}

.lmsc-terms-label a {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s;
}

.lmsc-terms-label a:hover { opacity: 0.8; }

.lmsc-terms-note {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-family: "Poppins", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.lmsc-terms-note a {
    color: #12608E;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s;
}

.lmsc-terms-note a:hover { opacity: 0.8; }

/* ================================================
 * ERROR MESSAGE
 * ============================================== */
.lmsc-error {
    color: #ff6b6b;
    background: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.4);
    padding: 8px 14px;
    border-radius: 4px;
    font-family: "Poppins", Sans-serif;
    font-size: 14px;
    margin-bottom: 16px;
}

/* ================================================
 * MOBILE — max-width: 767px
 * ============================================== */
@media (max-width: 767px) {

    .lmsc-auth .lmsc-tab-btn {
        padding: 7px 20px;
        font-size: 13px;
    }

    .lmsc-form label {
        font-size: 14px;
        line-height: 21px;
        padding-bottom: 8px;
    }

    .lmsc-form .lmsc-input {
        font-size: 14px;
        padding: .45rem .875rem;
    }

    .lmsc-form .lmsc-field {
        margin-bottom: 14px;
    }

    .lmsc-form .lmsc-terms-label {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    .lmsc-terms-note {
        font-size: 12px;
        line-height: 1.55;
    }

    .lmsc-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    .lmsc-lost-password-row { margin-top: 12px; }
    .lmsc-error             { font-size: 13px; }
}
