/* site-20-login.css: login and second step (Account/Login, Account/VerifyCode) with the "auth-pro" look:
   one centered card, bigger, light, with the name of the system on top and the legal line at the foot.
   Loaded last: it wins over site-06 and the light style of site-14 only inside .auth-pro. */

body.page-photo .auth-page.auth-pro {
    flex-direction: column;
    gap: 22px;
    padding: 40px 20px 28px;
    background: radial-gradient(1200px 700px at 15% 10%, #ffffff 0%, #eef1f6 55%, #e6eaf2 100%);
}

    /* Soft shapes of the background */
    body.page-photo .auth-page.auth-pro::before,
    body.page-photo .auth-page.auth-pro::after {
        content: "";
        position: absolute;
        z-index: 0;
        border-radius: 50%;
        background: rgba(39, 71, 201, 0.05);
        pointer-events: none;
    }

    body.page-photo .auth-page.auth-pro::before {
        left: -220px;
        bottom: -260px;
        width: 900px;
        height: 600px;
    }

    body.page-photo .auth-page.auth-pro::after {
        right: -200px;
        top: -180px;
        width: 700px;
        height: 520px;
        background: rgba(39, 71, 201, 0.04);
    }

/* --- The card --- */
body.page-photo .auth-pro .auth-card {
    z-index: 1;
    max-width: 560px;
    border: 1px solid #dfe5ee;
    border-radius: 20px;
    background: #f6f8fc;
    box-shadow: 0 40px 80px -40px rgba(15, 23, 42, 0.45);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

    body.page-photo .auth-pro .auth-card::before {
        display: none;
    }

/* Header: logo + name of the system */
body.page-photo .auth-pro .auth-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 40px;
    border-bottom: 1px solid #d6deea;
    background: #e3e9f3;
}

body.page-photo .auth-pro .auth-brand-logo {
    flex: none;
    width: 62px;
    height: 70px;
    object-fit: contain;
}

body.page-photo .auth-pro .auth-brand-title {
    color: #0f172a;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.25;
}

/* --- Form --- */
body.page-photo .auth-pro .auth-panel {
    gap: 22px;
    padding: 36px 40px 30px;
}

body.page-photo .auth-pro .auth-panel-head {
    align-items: flex-start;
    gap: 8px;
    text-align: left;
}

    body.page-photo .auth-pro .auth-panel-head h1 {
        color: #0f172a;
        font-size: 2rem;
        font-weight: 700;
    }

    body.page-photo .auth-pro .auth-panel-head p {
        color: #5b6778;
        font-size: 1rem;
    }

body.page-photo .auth-pro .auth-form {
    gap: 20px;
}

body.page-photo .auth-pro .auth-field {
    gap: 8px;
}

    body.page-photo .auth-pro .auth-field label {
        color: #334155;
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 0;
        text-transform: none;
    }

body.page-photo .auth-pro .auth-form .auth-input .cool-input {
    height: 58px;
    padding: 0 56px 0 50px;
    border: 1px solid #cfd8e3;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    font-size: 1.06rem;
}

    body.page-photo .auth-pro .auth-form .auth-input .cool-input::placeholder {
        color: #94a3b8;
    }

    body.page-photo .auth-pro .auth-form .auth-input .cool-input:hover {
        border-color: #9fb2cf;
    }

    body.page-photo .auth-pro .auth-form .auth-input .cool-input:focus {
        border: 2px solid #2747c9;
        padding-left: 49px;   /* the thicker border does not move the text */
        background: #fff;
        box-shadow: 0 0 0 4px rgba(39, 71, 201, 0.12);
    }

body.page-photo .auth-pro .auth-input-icon {
    left: 18px;
    color: #64748b;
    font-size: 1.15rem;
}

body.page-photo .auth-pro .auth-input:focus-within .auth-input-icon {
    color: #2747c9;
}

body.page-photo .auth-pro .auth-input-toggle {
    right: 8px;
    width: 44px;
    height: 44px;
    color: #64748b;
    font-size: 1.1rem;
}

    body.page-photo .auth-pro .auth-input-toggle:hover {
        background: #eef2f8;
        color: #2747c9;
    }

body.page-photo .auth-pro .auth-capslock {
    color: #9a4a12;
    font-size: 0.82rem;
}

/* Remember the user */
.auth-pro .auth-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #334155;
    font-size: 0.95rem;
    cursor: pointer;
}

    .auth-pro .auth-remember input {
        width: 18px;
        height: 18px;
        accent-color: #2747c9;
    }

/* Submit */
body.page-photo .auth-pro .btn-auth-submit {
    height: 58px;
    margin-top: 2px;
    border: 0;
    border-radius: 12px;
    background: #2747c9;
    font-size: 1.06rem;
    font-weight: 700;
    box-shadow: 0 14px 28px -14px rgba(39, 71, 201, 0.9);
}

    body.page-photo .auth-pro .btn-auth-submit:hover {
        background: #1e3a9f;
    }

/* Errors */
body.page-photo .auth-pro .auth-alert {
    border-radius: 12px;
    font-size: 0.92rem;
}

/* Footer of the card */
body.page-photo .auth-pro .auth-panel-foot {
    align-items: flex-start;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    color: #5b6778;
    font-size: 0.9rem;
    text-align: left;
}

    body.page-photo .auth-pro .auth-panel-foot i {
        color: #15803d;
    }

body.page-photo .auth-pro .auth-help {
    color: #2747c9;
}

/* Legal line under the card */
.auth-pro .auth-legal {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0;
    color: #64748b;
    font-size: 0.82rem;
    text-align: center;
}

@media (max-width: 520px) {
    body.page-photo .auth-pro .auth-brand {
        padding: 18px 22px;
    }

    body.page-photo .auth-pro .auth-panel {
        padding: 26px 22px 24px;
    }

    body.page-photo .auth-pro .auth-brand-title {
        font-size: 1.15rem;
    }
}
