/*
 * M-36 (2026-08-07): sign-in page layout — mirrors _mockups_aug7/page_sign-in.html.
 * Two-panel card: left is a full-cover project photo (no text overlay, logo
 * top-left), right is the login form.
 */
.ww-signin {
    --ink: #262525;
    --ink-2: #5f5b63;
    --ink-3: #8b8790;
    --plum: #874390;
    --plum-d: #703777;
    --plum-bg: #f5f0f6;
    --line: #e7e4ea;
    --wash: #f6f5f8;
    display: grid;
    place-items: center;
    min-height: calc(100vh - 120px);
    background: var(--wash);
    padding: 40px 24px;
    font-family: 'Roboto', 'Malgun Gothic', 'Apple SD Gothic Neo', Arial, sans-serif;
    color: var(--ink);
    line-height: 1.5;
}
.ww-signin__card {
    width: 100%;
    max-width: 980px;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 560px;
    overflow: hidden;
}
.ww-signin__side {
    position: relative;
    background-color: #262525;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #fff;
    min-height: 560px;
}
.ww-signin__side::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 18, 22, 0.42), rgba(20, 18, 22, 0) 34%);
    pointer-events: none;
}
.ww-signin__logo {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    max-width: 200px;
}
.ww-signin__logo img {
    max-width: 200px;
    max-height: 32px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1);
}
.ww-signin__form {
    padding: 34px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}
.ww-signin__form-inner {
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
}
.ww-signin__title {
    font-family: 'Poppins', 'Malgun Gothic', Arial, sans-serif;
    font-size: 24px;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-weight: 700;
}
.ww-signin__hint {
    font-size: 13.5px;
    color: var(--ink-2);
    margin: 0 0 20px;
}
.ww-signin__hint a {
    color: var(--plum);
    font-weight: 700;
    text-decoration: none;
}
/* The stock custom-login-form markup renders inside .ww-signin__loginform. */
.ww-signin__loginform .form-pad { padding: 0; background: transparent; box-shadow: none; }
.ww-signin__loginform .title,
.ww-signin__loginform .wp-social-login-connect-with,
.ww-signin__loginform .the_champ_social_login_title,
.ww-signin .the_champ_social_login_title { display: none !important; }
.ww-signin__field { margin: 0; }
.ww-signin__loginform label,
.ww-signin__lbl {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12.5px;
    font-weight: 700;
    margin: 0 0 5px;
    color: var(--ink);
}
.ww-signin__forgot,
.ww-signin__lbl a,
.ww-signin__loginform .ww-signin__forgot {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--plum) !important;
    text-decoration: none !important;
    margin: 0 !important;
}
.ww-signin__loginform input[type="text"],
.ww-signin__loginform input[type="email"],
.ww-signin__loginform input[type="password"] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 11px 13px;
    font-size: 14px;
    background: #fff;
    color: var(--ink);
    margin-bottom: 15px;
    font-family: inherit;
}
.ww-signin__loginform input[type="text"]:focus,
.ww-signin__loginform input[type="email"]:focus,
.ww-signin__loginform input[type="password"]:focus {
    outline: none;
    border-color: var(--plum);
}
.ww-signin__loginform .submit input[type="submit"],
.ww-signin__loginform input[type="submit"] {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    background: var(--plum);
    color: #fff;
    cursor: pointer;
    font-family: 'Poppins', 'Malgun Gothic', Arial, sans-serif;
}
.ww-signin__loginform .submit input[type="submit"]:hover,
.ww-signin__loginform input[type="submit"]:hover {
    background: var(--plum-d);
}
.ww-signin__or {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--ink-3);
    font-size: 11.5px;
    margin: 19px 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.ww-signin__or::before,
.ww-signin__or::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}
.ww-signin__soc,
.ww-signin .wp-social-login-provider-list,
.ww-signin #loginform .the_champ_login_ul,
.ww-signin .the_champ_login_ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 9px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
}
.ww-signin .the_champ_outer_login_container,
.ww-signin .the_champ_login_container,
.ww-signin .wp-social-login-widget,
.ww-signin .wp-social-login-provider-list {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
.ww-signin #loginform .the_champ_login_ul li,
.ww-signin .the_champ_login_ul li {
    float: none !important;
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    background-color: #fff !important;
    border: 1px solid var(--line) !important;
    border-radius: 999px !important;
    position: relative;
}
.ww-signin #loginform .the_champ_login_ul li:last-child,
.ww-signin .the_champ_login_ul li:last-child {
    background: #fff !important;
    background-color: #fff !important;
}
.ww-signin #loginform .the_champ_login_ul li span,
.ww-signin .the_champ_login_ul li span {
    display: none !important;
}
.ww-signin #loginform .theChampLogin,
.ww-signin .theChampLogin {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 9px !important;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 999px !important;
    font-style: normal !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--ink) !important;
    cursor: pointer;
    box-sizing: border-box;
}
.ww-signin .theChampLoginSvg {
    display: none !important;
}
.ww-signin .theChampGoogleLogin::before,
.ww-signin .theChampLinkedinLogin::before,
.ww-signin a.wp-social-login-provider-google::before,
.ww-signin a.wp-social-login-provider-linkedin::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 0;
    flex: none;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.ww-signin .theChampGoogleLogin::before,
.ww-signin a.wp-social-login-provider-google::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20.1H42V20H24v8h11.3C33.7 32.7 29.3 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.1 8 3l5.7-5.7C34.2 6.1 29.4 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.7-.4-3.9z'/%3E%3Cpath fill='%23FF3D00' d='M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.1 8 3l5.7-5.7C34.2 6.1 29.4 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.1 26.8 36 24 36c-5.3 0-9.7-3.3-11.3-7.9l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.6 20.1H42V20H24v8h11.3c-1.1 3.2-3.5 5.8-6.5 7.5l6.2 5.2C39.2 37.3 44 31.7 44 24c0-1.3-.1-2.7-.4-3.9z'/%3E%3C/svg%3E");
}
.ww-signin .theChampLinkedinLogin::before,
.ww-signin a.wp-social-login-provider-linkedin::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='3' fill='%230A66C2'/%3E%3Cpath fill='%23fff' d='M8.34 9.25H6.16V19h2.18V9.25zM7.25 5.2a1.34 1.34 0 1 0 .01 2.68 1.34 1.34 0 0 0-.01-2.68zM18.5 19h-2.17v-5.05c0-1.2-.02-2.75-1.68-2.75s-1.94 1.31-1.94 2.66V19h-2.17V9.25h2.08v1.33h.03c.29-.55 1.05-1.13 2.16-1.13 2.31 0 2.74 1.52 2.74 3.5V19z'/%3E%3C/svg%3E");
}
.ww-signin .theChampGoogleLogin::after,
.ww-signin a.wp-social-login-provider-google:not(:empty)::after { content: none; }
.ww-signin .theChampLinkedinLogin::after,
.ww-signin a.wp-social-login-provider-linkedin:not(:empty)::after { content: none; }
.ww-signin .theChampGoogleLogin::after { content: "Google"; }
.ww-signin .theChampLinkedinLogin::after { content: "LinkedIn"; }
.ww-signin a.wp-social-login-provider img {
    display: none !important;
}
.ww-signin #loginform .the_champ_login_ul li:has(.theChampFacebookLogin),
.ww-signin .theChampFacebookLogin {
    display: none !important;
}
.ww-signin #loginform a.wp-social-login-provider,
.ww-signin .wp-social-login-provider {
    flex: 1 1 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #fff !important;
    color: var(--ink) !important;
    border: 1px solid var(--line) !important;
    border-radius: 999px !important;
    padding: 9px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    text-align: center !important;
    text-decoration: none !important;
    min-height: 40px;
    box-sizing: border-box;
}
.ww-signin #loginform a.wp-social-login-provider:hover,
.ww-signin .wp-social-login-provider:hover,
.ww-signin #loginform .the_champ_login_ul li:hover {
    background: var(--plum-bg) !important;
    border-color: var(--plum) !important;
}
.ww-signin #loginform a.wp-social-login-provider-facebook,
.ww-signin .wp-social-login-provider-facebook {
    display: none !important;
}
.ww-signin__foot {
    margin: 20px 0 0;
    text-align: center;
    font-size: 11.5px;
}
.ww-signin__foot a,
.ww-signin__loginform .transfer_user_ownership_link {
    color: var(--ink-2) !important;
    text-decoration: none !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
}
.ww-signin__loginform .nav { display: none !important; }
.ww-signin__loginform .error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 6px;
    padding: 8px 12px;
    margin: 0 0 12px;
    font-size: 13px;
}
@media (max-width: 900px) {
    .ww-signin__card { grid-template-columns: 1fr; }
    .ww-signin__side { min-height: 200px; }
    .ww-signin__form { padding: 28px 24px; }
}
