/* ==========================================================================
   LoginCraft — Yeti Character Template CSS
   Faithfully matches the original CodePen design.
   ========================================================================== */

/* ── SVG Container ── */
.lpcd-yeti-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1em;
    border-radius: 50%;
    pointer-events: none;
    order: 0;
    z-index: 1;
}

.lpcd-yeti-container .lpcd-yeti-inner {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    border-radius: 50%;
    padding-bottom: 100%;
}

.lpcd-yeti-container .lpcd-yeti-svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.lpcd-yeti-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: inherit;
    height: inherit;
    box-sizing: border-box;
    border: solid 2.5px #217093;
    border-radius: 50%;
}

/* ── Global container — make form and SVG feel like one card ── */
body.lpcd-yeti #login {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ── Form styling — match the original exactly ── */
body.lpcd-yeti #loginform,
body.lpcd-yeti #registerform,
body.lpcd-yeti #lostpasswordform {
    background: #fff !important;
    border: solid 1px #ddd !important;
    border-radius: 0.5em !important;
    padding: 2.25em !important;
    box-shadow: none !important;
}

/* ── Labels — bold blue, larger ── */
body.lpcd-yeti #loginform label,
body.lpcd-yeti #registerform label,
body.lpcd-yeti #lostpasswordform label {
    font-size: 1.25em !important;
    color: #217093 !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    margin-bottom: 12px !important;
    display: block !important;
}

/* ── Input fields — 65px tall, blue border, light bg ── */
body.lpcd-yeti #loginform input[type="text"],
body.lpcd-yeti #loginform input[type="password"],
body.lpcd-yeti #loginform input.input,
body.lpcd-yeti #registerform input.input,
body.lpcd-yeti #lostpasswordform input.input {
    display: block !important;
    margin: 0 !important;
    background-color: #f3fafd !important;
    border: solid 2px #217093 !important;
    border-radius: 4px !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 65px !important;
    font-size: 1.55em !important;
    color: #353538 !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    transition: box-shadow .2s linear, border-color .25s ease-out !important;
    padding: .875em 1em 0 !important;
}

body.lpcd-yeti #loginform input[type="text"]:focus,
body.lpcd-yeti #loginform input[type="password"]:focus,
body.lpcd-yeti #loginform input.input:focus,
body.lpcd-yeti #registerform input.input:focus,
body.lpcd-yeti #lostpasswordform input.input:focus {
    outline: none !important;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, .1) !important;
    border-color: #4eb8dd !important;
}

/* ── Login field paragraphs — spacing ── */
body.lpcd-yeti #loginform p,
body.lpcd-yeti #registerform p,
body.lpcd-yeti #lostpasswordform p {
    margin: 0 0 2em !important;
    padding: 0 !important;
    position: relative !important;
}

body.lpcd-yeti #loginform .user-pass-wrap {
    margin: 0 0 2em !important;
}

/* ── Submit button — 65px tall, same width, blue ── */
body.lpcd-yeti #wp-submit {
    display: block !important;
    margin: 0 !important;
    padding: .65em 1em 1em !important;
    background-color: #4eb8dd !important;
    border: none !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    width: 100% !important;
    height: 65px !important;
    font-size: 1.55em !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    transition: background-color .2s ease-out !important;
}

body.lpcd-yeti #wp-submit:hover,
body.lpcd-yeti #wp-submit:active {
    background-color: #217093 !important;
}

/* ── Submit row — no extra spacing ── */
body.lpcd-yeti .submit {
    margin-top: 0 !important;
}

/* ── Remember me — proper spacing ── */
body.lpcd-yeti #loginform .forgetmenot {
    margin-top: -1em !important;
    margin-bottom: 1em !important;
}

/* ── Show Password toggle ── */
body.lpcd-yeti .wp-hide-pw {
    color: #217093 !important;
}

body.lpcd-yeti .wp-hide-pw:hover {
    color: #4eb8dd !important;
}

/* ── Links ── */
body.lpcd-yeti #nav a,
body.lpcd-yeti #backtoblog a {
    color: #217093 !important;
}

body.lpcd-yeti #nav a:hover,
body.lpcd-yeti #backtoblog a:hover {
    color: #4eb8dd !important;
}

/* ── SVG Transition Classes ── */
.lpcd-yeti-svg .eyeL,
.lpcd-yeti-svg .eyeR,
.lpcd-yeti-svg .nose,
.lpcd-yeti-svg .mouth,
.lpcd-yeti-svg .chin,
.lpcd-yeti-svg .face,
.lpcd-yeti-svg .eyebrow,
.lpcd-yeti-svg .earL .outerEar,
.lpcd-yeti-svg .earR .outerEar,
.lpcd-yeti-svg .earL .earHair,
.lpcd-yeti-svg .earR .earHair,
.lpcd-yeti-svg .hair {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lpcd-yeti-svg .armL,
.lpcd-yeti-svg .armR {
    transition: transform 0.45s ease-out, visibility 0s;
}

/* Arm initial hidden state */
.lpcd-yeti-svg .armL {
    transform: translate(-93px, 220px) rotate(105deg);
    transform-origin: top left;
    visibility: hidden;
}

.lpcd-yeti-svg .armR {
    transform: translate(-93px, 220px) rotate(-105deg);
    transform-origin: top right;
    visibility: hidden;
}

/* Arm cover state */
.lpcd-yeti-svg.lpcd-eyes-covered .armL {
    transform: translate(-93px, 10px) rotate(0deg);
    visibility: visible !important;
}

.lpcd-yeti-svg.lpcd-eyes-covered .armR {
    transform: translate(-93px, 10px) rotate(0deg);
    transition-delay: 0.1s;
    visibility: visible !important;
}

/* Mouth states */
.lpcd-yeti-svg .mouthSmallBG,
.lpcd-yeti-svg .mouthMediumBG,
.lpcd-yeti-svg .mouthLargeBG {
    transition: opacity 0.3s ease;
}

/* Blink animation */
@keyframes lpcd-yeti-blink {

    0%,
    45%,
    55%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0);
    }
}

.lpcd-yeti-svg .eyeL.lpcd-blink,
.lpcd-yeti-svg .eyeR.lpcd-blink {
    animation: lpcd-yeti-blink 0.15s ease-in-out;
    transform-origin: center center;
}

/* ── Mobile Responsive ── */
@media (max-width: 480px) {
    .lpcd-yeti-container {
        width: 140px;
        height: 140px;
        margin-bottom: 0.75em;
    }

    body.lpcd-yeti div#login {
        width: 92vw !important;
        max-width: 360px !important;
    }

    body.lpcd-yeti #loginform,
    body.lpcd-yeti #registerform,
    body.lpcd-yeti #lostpasswordform {
        padding: 1.5em !important;
    }

    body.lpcd-yeti #loginform input[type="text"],
    body.lpcd-yeti #loginform input[type="password"],
    body.lpcd-yeti #loginform input.input,
    body.lpcd-yeti #registerform input.input,
    body.lpcd-yeti #lostpasswordform input.input {
        height: 50px !important;
        font-size: 1.2em !important;
        padding: .5em 1em 0 !important;
    }

    body.lpcd-yeti #wp-submit {
        height: 50px !important;
        font-size: 1.2em !important;
    }

    body.lpcd-yeti #loginform label,
    body.lpcd-yeti #registerform label,
    body.lpcd-yeti #lostpasswordform label {
        font-size: 1em !important;
    }

    body.lpcd-yeti #loginform p,
    body.lpcd-yeti #registerform p,
    body.lpcd-yeti #lostpasswordform p {
        margin-bottom: 1.5em !important;
    }
}

@media (max-width: 360px) {
    .lpcd-yeti-container {
        width: 110px;
        height: 110px;
    }
}