
:root {
    --wp-login-gold: #d5a447;
    --wp-login-gold-bright: #edc66f;
    --wp-login-copy: #d7c9a7;
    --wp-login-ink: rgba(4, 9, 15, 0.9);


    --wpl-card-bg: #090b0e;
    --wpl-line: rgba(140, 106, 56, 0.72);
    --wpl-label: #b98a45;
    --wpl-cream: #efe6d2;
    --wpl-muted: #b9ac91;
}


html.wp-login-new-root {
    min-height: 100%;
}

body.wp-login-new-page {
    visibility: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: visible;
    color: var(--wp-login-copy);
    background: #03070b;
    font-family: 'EB Garamond', Georgia, serif;
}

body.wp-login-new-page.loaded {
    visibility: visible;
}

.wp-login-new-page .wp-bg {
    background-position: center center;
}

.wp-login-new-page .wp-bg::after {
    background:
        radial-gradient(circle at 50% 34%, rgba(6, 12, 20, 0.52), transparent 58%),
        linear-gradient(180deg, rgba(2, 5, 9, 0.42), rgba(2, 5, 9, 0.2) 32%, rgba(2, 5, 9, 0.62));
}

.wp-login-new-page *,
.wp-login-new-page *::before,
.wp-login-new-page *::after {
    box-sizing: border-box;
}

.wp-login-new-page a {
    color: inherit;
    text-decoration: none;
}

.wp-login-new-page :where(button, input) {
    font: inherit;
}

.wp-login-new-page .hidden {
    display: none;
}



.wpl {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: clamp(10px, 1.8vh, 22px) 16px clamp(8px, 1.4vh, 16px);
}


.wpl-card {
    position: relative;

    --wpl-ratio: 1.45;
    --wpl-budget: 1.5;
    --wpl-min: 520px;
    width: min(660px, 100%, max(var(--wpl-min), (100dvh - 116px) / var(--wpl-budget)));
    display: grid;
    grid-template-columns: minmax(0, 1fr);

    container-type: inline-size;
    container-name: wplcard;

    background: url('../images/login-card-fill.webp') center / 100% 100% no-repeat;
}

.wpl-card::before {
    content: '';
    grid-area: 1 / 1;
    aspect-ratio: 1 / var(--wpl-ratio);
}

.wpl-card > * {
    grid-area: 1 / 1;
}


.wpl-card__frame {
    position: relative;
    z-index: 2;
    background: url('../images/login-frame.webp') center / 100% 100% no-repeat;
    pointer-events: none;
}



.wpl-card__inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 21% 13.6% 15.5%;
    text-align: center;
}




.wpl-brand {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Cinzel', serif;
    font-size: clamp(15px, 3.33cqw, 22px);
    font-weight: 400;
    letter-spacing: 0.18em;
    line-height: 1;
    color: var(--wp-login-gold-bright);
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(216, 169, 78, 0.22);
}

.wpl-brand-rule {
    width: min(100%, 50cqw, 330px);
    height: auto;
    margin: min(1.2cqw, 8.0px) 0 0;
    opacity: 0.92;
}

.wpl-title {
    margin: min(3.15cqw, 20.8px) 0 0;
    font-family: 'Cinzel', serif;
    font-size: clamp(21px, 5.0cqw, 33px);
    font-weight: 400;
    letter-spacing: 0.045em;
    line-height: 1.14;
    color: #f3d99b;
    text-transform: uppercase;
    text-shadow: 0 0 22px rgba(216, 169, 78, 0.2);
}

.wpl-lead {
    margin: min(1.58cqw, 10.4px) 0 0;
    font-size: clamp(12.5px, 2.5cqw, 16.5px);
    font-style: italic;
    line-height: 1.42;
    color: var(--wpl-cream);
}

.wpl-star {
    width: clamp(10px, 2.27cqw, 15px);
    height: auto;
    margin: min(2.06cqw, 13.6px) 0 0;
    opacity: 0.95;
}



.wpl-alert {
    width: 100%;
    margin: 14px 0 0;
    padding: 8px 12px;
    border: 1px solid rgba(176, 74, 62, 0.7);
    border-radius: 4px;
    background: rgba(52, 15, 14, 0.72);
    color: #f0c9c3;
    font-size: 13.5px;
    line-height: 1.35;
}



.wpl-form {
    width: 100%;
    margin: min(2.91cqw, 19.2px) 0 0;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.wpl-label {
    margin: 0 0 clamp(5px, 1.05cqw, 7px);
    font-family: 'Cinzel', serif;
    font-size: clamp(10.5px, 2.05cqw, 13.5px);
    font-weight: 600;
    letter-spacing: 0.11em;
    color: var(--wpl-label);
    text-transform: uppercase;
}

.wpl-label + .wpl-field {
    margin-bottom: min(2.42cqw, 16.0px);
}

.wpl-field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid var(--wpl-line);
    border-radius: 4px;
    background: rgba(19, 22, 26, 0.86);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.wpl-field:focus-within {
    border-color: var(--wp-login-gold);
    box-shadow: 0 0 0 3px rgba(213, 164, 71, 0.13);
}

.wpl-field__icon {
    flex: none;
    width: clamp(15px, 2.7cqw, 18px);
    height: clamp(15px, 2.7cqw, 18px);
    margin-left: clamp(11px, 2.1cqw, 14px);
    color: rgba(200, 160, 96, 0.82);
}

.wpl-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: clamp(11px, 1.55cqw, 12px) clamp(11px, 2.1cqw, 14px);
    border: 0;
    background: transparent;
    color: var(--wpl-cream);
    font-size: clamp(13px, 2.5cqw, 16.5px);
    outline: none;
}

.wpl-input::placeholder {
    color: rgba(176, 166, 148, 0.62);
    opacity: 1;
}

.wpl-input.is-invalid {
    color: #f0c9c3;
}

.wpl-field:has(.is-invalid) {
    border-color: rgba(176, 74, 62, 0.85);
}

.wpl-field__reveal {
    flex: none;
    display: grid;
    place-items: center;
    width: clamp(32px, 6cqw, 40px);
    height: clamp(32px, 6cqw, 40px);
    margin-right: 4px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: rgba(200, 160, 96, 0.82);
    cursor: pointer;
    transition: color .18s ease;
}

.wpl-field__reveal svg {
    width: clamp(16px, 2.9cqw, 19px);
    height: clamp(16px, 2.9cqw, 19px);
}

.wpl-field__reveal:hover,
.wpl-field__reveal:focus-visible {
    color: var(--wp-login-gold-bright);
}


.wpl-field__reveal.is-on .wpl-field__slash {
    opacity: 0;
}

.wpl-field__slash {
    transition: opacity .18s ease;
}



.wpl-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 2px 0 min(2.91cqw, 19.2px);
}

.wpl-remember {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--wpl-cream);
    font-size: clamp(13px, 2.5cqw, 16.5px);
    cursor: pointer;
}


.wpl-remember input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.wpl-remember__box {
    position: relative;
    flex: none;
    width: clamp(14px, 2.4cqw, 16px);
    height: clamp(14px, 2.4cqw, 16px);
    border: 1px solid var(--wpl-line);
    border-radius: 3px;
    background: rgba(19, 22, 26, 0.86);
    transition: border-color .18s ease, background .18s ease;
}

.wpl-remember__box::after {
    content: '';
    position: absolute;
    left: 4.5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #1d1405;
    border-width: 0 2px 2px 0;
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity .15s ease;
}

.wpl-remember input:checked + .wpl-remember__box {
    border-color: var(--wp-login-gold);
    background: var(--wp-login-gold);
}

.wpl-remember input:checked + .wpl-remember__box::after {
    opacity: 1;
}

.wpl-remember input:focus-visible + .wpl-remember__box {
    box-shadow: 0 0 0 3px rgba(213, 164, 71, 0.22);
}

.wpl-forgot {
    color: var(--wp-login-gold-bright);
    font-size: clamp(13px, 2.5cqw, 16.5px);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .18s ease;
}

.wpl-forgot:hover,
.wpl-forgot:focus-visible {
    color: #f7dfa6;
}

.wpl-captcha {
    height: 0;
    overflow: hidden;
}




.wpl-submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 100%;
    padding: clamp(11.5px, 2.58cqw, 17px) 18px;
    border: 1px solid #7d5c22;
    border-radius: 3px;
    background:
        radial-gradient(120% 150% at 44% 10%, rgba(196, 150, 66, 0.5), transparent 62%),
        linear-gradient(180deg, #937131 0%, #866429 18%, #755423 46%, #634719 76%, #5b4018 100%);
    color: #fdf3d8;
    cursor: pointer;
    box-shadow:
        0 0 20px rgba(150, 110, 45, 0.3),
        inset 0 1px 0 rgba(226, 190, 110, 0.45);
    transition: filter .18s ease, box-shadow .18s ease, transform .12s ease;
}


.wpl-submit::after {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(233, 199, 120, 0.34);
    border-radius: 2px;
    pointer-events: none;
}

.wpl-submit span {
    font-family: 'Cinzel', serif;
    font-size: clamp(13.5px, 2.88cqw, 19px);
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
    text-indent: 0.2em;
    text-shadow: 0 1px 2px rgba(38, 25, 6, 0.5);
}

.wpl-submit__quill {
    flex: none;
    width: clamp(16px, 3.48cqw, 23px);
    height: clamp(16px, 3.48cqw, 23px);
}

.wpl-submit:hover,
.wpl-submit:focus-visible {
    filter: brightness(1.07);
    box-shadow:
        0 0 30px rgba(226, 183, 92, 0.38),
        inset 0 1px 0 rgba(255, 240, 190, 0.6);
}

.wpl-submit:active {
    transform: translateY(1px);
}

.wpl-submit[disabled] {
    cursor: default;
    filter: saturate(0.7) brightness(0.86);
    box-shadow: none;
}




.wpl-or {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: min(2.91cqw, 19.2px) 0 0;
    color: var(--wpl-cream);
    font-size: clamp(13px, 2.5cqw, 16.5px);
}

.wpl-or::before,
.wpl-or::after {
    content: '';
    flex: 1 1 auto;
    height: 18px;
    background:
        url('../images/login-divider-tip.png') no-repeat right center / auto 100%,
        linear-gradient(90deg, rgba(140, 106, 56, 0) 0%, rgba(140, 106, 56, 0.85) 18%, rgba(140, 106, 56, 0.85) 100%) no-repeat left center / 100% 1px;
}

.wpl-or::after {
    transform: scaleX(-1);
}

.wpl-signup-lead {
    margin: min(2.42cqw, 16.0px) 0 0;
    color: var(--wpl-cream);
    font-size: clamp(13px, 2.58cqw, 17px);
}

.wpl-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: min(1.94cqw, 12.8px) 0 0;
    padding: clamp(9px, 1.97cqw, 13px) clamp(16px, 4.85cqw, 32px);
    border: 1px solid var(--wp-login-gold);
    border-radius: 3px;
    background: transparent;
    color: var(--wp-login-gold-bright);
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.wpl-signup span {
    font-family: 'Cinzel', serif;
    font-size: clamp(11.5px, 2.2cqw, 14.5px);
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.wpl-signup svg {
    flex: none;
    width: 18px;
    height: 18px;
    transition: transform .18s ease;
}

.wpl-signup:hover,
.wpl-signup:focus-visible {
    border-color: var(--wp-login-gold-bright);
    background: rgba(213, 164, 71, 0.1);
    color: #f7dfa6;
}

.wpl-signup:hover svg,
.wpl-signup:focus-visible svg {
    transform: translateX(3px);
}



.wpl-star--quote {
    margin-top: min(2.91cqw, 19.2px);
}


.wpl-quote {
    position: relative;

    width: fit-content;
    max-width: 100%;
    margin: min(1.94cqw, 12.8px) auto 0;
    padding: 0 clamp(18px, 3.9cqw, 26px);
    color: var(--wpl-cream);
    font-size: clamp(12.5px, 2.8cqw, 18.5px);
    font-style: italic;
    line-height: 1.34;
}

.wpl-quote::before,
.wpl-quote::after {
    position: absolute;
    top: -6px;
    color: rgba(213, 164, 71, 0.55);
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 2.2em;
    font-style: normal;
    line-height: 1;
}

.wpl-quote::before {
    content: '\201C';
    left: 0;
}

.wpl-quote::after {
    content: '\201D';
    right: 0;
}



.wp-login-new-page .wp-login-footer {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

@media (min-width: 981px) {
    .wp-login-new-page .wp-login-footer {
        width: calc(100% - (var(--wp-page-gutter) * 2));
        margin: 0 var(--wp-page-gutter) var(--wp-page-gutter);
    }
}




@media (max-width: 980px) {
    .wpl-card {
        width: min(660px, 100%, max(var(--wpl-min), (100dvh - 136px) / var(--wpl-budget)));
    }
}

@media (max-width: 700px) {
    .wpl-card {
        width: min(660px, 100%, max(var(--wpl-min), (100dvh - 166px) / var(--wpl-budget)));
    }
}

@media (max-width: 560px) {
    .wpl {
        padding: 14px 10px 12px;
    }

    .wpl-card {

        width: min(660px, 93%, max(var(--wpl-min), (100dvh - 184px) / var(--wpl-budget)));
    }


    .wpl-card__inner {

        padding: 28% 12.5% 21%;
    }

    .wpl-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
    }

    .wpl-quote {
        padding: 0 20px;
    }
}


html.wp-login-new-root {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
}

body.wp-login-new-page {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
    overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
    .wp-login-new-page *,
    .wp-login-new-page *::before,
    .wp-login-new-page *::after {
        transition-duration: .01ms !important;
    }
}

.wpl-social {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: clamp(8px, 1.5cqw, 10px);
    width: 100%;
    margin: min(2.42cqw, 16.0px) 0 0;
}

.wpl-social__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    padding: clamp(9px, 1.7cqw, 11px) 12px;
    border: 1px solid var(--wpl-line);
    border-radius: 4px;
    background: rgba(19, 22, 26, 0.86);
    color: var(--wpl-cream);
    font-size: clamp(13px, 2.4cqw, 16px);
    line-height: 1.15;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.wpl-social__btn svg {
    flex: none;
    width: clamp(17px, 3cqw, 20px);
    height: clamp(17px, 3cqw, 20px);
}

.wpl-social__btn span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.wpl-social__btn:hover,
.wpl-social__btn:focus-visible {
    border-color: var(--wp-login-gold);
    background: rgba(28, 30, 34, 0.92);
    box-shadow: 0 0 0 3px rgba(213, 164, 71, 0.13);
    outline: none;
}
