﻿html.wla-auth-checking body {
    visibility: hidden !important;
}

.wla-auth-page {
    min-height: 100vh;
    margin: 0;
    background:
        linear-gradient(
            135deg,
            #0b2d48,
            #123e62 55%,
            #0b2943
        );
    color: #102f4d;
    font-family: Arial, Helvetica, sans-serif;
}

.wla-auth-shell {
    min-height: 100vh;
    padding: 30px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wla-auth-card {
    width: min(100%, 470px);
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow:
        0 25px 70px
        rgba(0,0,0,.24);
}

.wla-auth-brand {
    padding: 27px 28px 22px;
    text-align: center;
}

.wla-auth-brand img {
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.wla-auth-brand h1 {
    margin: 10px 0 4px;
    color: #102f4d;
    font-size: 28px;
}

.wla-auth-brand p {
    margin: 0;
    color: #6e8396;
    font-size: 13px;
}

.wla-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e1e8ee;
    border-bottom: 1px solid #e1e8ee;
}

.wla-auth-tabs button {
    min-height: 50px;
    border: 0;
    background: #f6f8fa;
    color: #657b8e;
    font-weight: 900;
    cursor: pointer;
}

.wla-auth-tabs button.active {
    background: #fff;
    color: #102f4d;
    box-shadow:
        inset 0 -3px 0
        #f1b42b;
}

.wla-auth-body {
    padding: 24px 28px 28px;
}

.wla-auth-form {
    display: grid;
    gap: 14px;
}

.wla-auth-field {
    display: grid;
    gap: 6px;
}

.wla-auth-field label {
    color: #425d73;
    font-size: 12px;
    font-weight: 900;
}

.wla-auth-field input {
    width: 100%;
    height: 48px;
    padding: 0 13px;
    border: 1px solid #ccd8e2;
    border-radius: 10px;
    background: #fff;
    color: #102f4d;
    font-size: 15px;
}

.wla-auth-field input:focus {
    outline: none;
    border-color: #dca41f;
    box-shadow:
        0 0 0 3px
        rgba(239,178,39,.16);
}

.wla-auth-submit {
    min-height: 50px;
    margin-top: 3px;
    border: 1px solid #e0a51e;
    border-radius: 10px;
    background: #f1b42b;
    color: #102f4d;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
}

.wla-auth-submit:disabled {
    opacity: .55;
    cursor: wait;
}

.wla-auth-message {
    min-height: 18px;
    margin: 15px 0 0;
    padding: 0;
    font-size: 12px;
    line-height: 1.45;
}

.wla-auth-message.error {
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff0f0;
    color: #9b2929;
}

.wla-auth-message.success {
    padding: 10px 12px;
    border-radius: 8px;
    background: #edf9ef;
    color: #28683a;
}

.wla-auth-message.info {
    padding: 10px 12px;
    border-radius: 8px;
    background: #eef5fa;
    color: #365d79;
}

.wla-auth-fineprint {
    margin-top: 18px;
    color: #80909e;
    font-size: 10px;
    line-height: 1.45;
    text-align: center;
}

.wla-auth-continue {
    display: inline-flex;
    width: 100%;
    min-height: 45px;
    margin-top: 12px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #102f4d;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}

.wla-auth-back {
    display: block;
    margin-top: 14px;
    color: #60788c;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
}

/* ==========================================================
   WINNING LINE AI LOGIN POLISH V2
   ========================================================== */

/* Critical: honour the hidden attribute */
.wla-auth-form[hidden],
.wla-auth-continue[hidden] {
    display: none !important;
}

/* cleaner card */
.wla-auth-card {
    width: min(100%, 440px);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
}

/* stronger brand area */
.wla-auth-brand {
    padding: 30px 30px 24px;
}

.wla-auth-brand img {
    width: 62px;
    height: 62px;
}

.wla-auth-brand h1 {
    margin-top: 12px;
    font-size: 29px;
    letter-spacing: -.4px;
}

.wla-auth-brand p {
    margin-top: 4px;
    font-size: 12px;
}

/* premium tabs */
.wla-auth-tabs {
    background: #f4f7f9;
}

.wla-auth-tabs button {
    position: relative;
    min-height: 54px;
    font-size: 13px;
    background: transparent;
    transition: .18s ease;
}

.wla-auth-tabs button.active {
    background: #fff;
    color: #102f4d;
    box-shadow: none;
}

.wla-auth-tabs button.active::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: #f1b42b;
}

/* cleaner content spacing */
.wla-auth-body {
    padding: 26px 30px 30px;
}

.wla-auth-form {
    gap: 16px;
}

.wla-auth-field {
    gap: 7px;
}

.wla-auth-field label {
    color: #294a65;
    font-size: 12px;
    font-weight: 900;
}

.wla-auth-field input {
    height: 50px;
    padding: 0 14px;
    border: 1px solid #cbd7e1;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
}

.wla-auth-field input:hover {
    border-color: #aebdca;
}

.wla-auth-submit {
    min-height: 52px;
    margin-top: 5px;
    border-radius: 10px;
    background: #f3b62d;
    font-size: 15px;
}

.wla-auth-submit:hover {
    background: #eeb020;
}

/* status messages */
.wla-auth-message:empty {
    display: none;
}

/* continue button only appears for a real existing session */
.wla-auth-continue {
    margin-top: 14px;
    min-height: 48px;
}

/* less clutter at bottom */
.wla-auth-fineprint {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e4ebf0;
}

@media(max-width:520px) {

    .wla-auth-shell {
        padding: 14px;
    }

    .wla-auth-card {
        border-radius: 17px;
    }

    .wla-auth-brand {
        padding: 24px 22px 20px;
    }

    .wla-auth-body {
        padding: 22px;
    }
}


/* ==========================================================
   WINNING LINE PASSWORD RESET V1
   ========================================================== */

.wla-forgot-link {
    border: 0;
    background: transparent;
    color: #496b86;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    margin-top: -3px;
}

.wla-forgot-link:hover {
    color: #102f4d;
    text-decoration: underline;
}

.wla-forgot-link[hidden] {
    display: none !important;
}

.wla-reset-intro {
    margin-bottom: 4px;
}

.wla-reset-intro h2 {
    margin: 0 0 6px;
    color: #102f4d;
    font-size: 21px;
}

.wla-reset-intro p {
    margin: 0;
    color: #6b8092;
    font-size: 12px;
    line-height: 1.45;
}

.wla-reset-back {
    min-height: 44px;
    border: 1px solid #ccd8e2;
    border-radius: 9px;
    background: #fff;
    color: #425f76;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.wla-reset-back:hover {
    background: #f4f7f9;
}

