html,
body {
    min-height: 100%;
}

body.login-body-yeti {
    margin: 0;
    min-height: 100vh;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top, rgba(51, 205, 255, .28) 0%, rgba(0, 166, 166, .14) 36%, #f5fbfc 100%);
}

.login-page {
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-box-yeti {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 30px 28px 28px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 106, 106, 0.22);
    border-top: 7px solid #ffbe2c;
    box-shadow: 0 30px 70px rgba(0, 106, 106, 0.16);
    overflow: hidden;
}

.login-box-yeti::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 210px;
    background: linear-gradient(180deg, rgba(51, 205, 255, .24) 0%, rgba(203, 114, 172, .07) 55%, transparent 100%);
    pointer-events: none;
}

.login-box-yeti > * {
    position: relative;
    z-index: 1;
}

.login-logo-wrap {
    text-align: center;
    margin-bottom: 12px;
}

.login-logo {
    width: 200px;
    max-width: 100%;
    max-height: 240px;
    height: auto;
    display: inline-block;
}

.yeti-wrap {
    margin: 0 auto 8px;
}

.svgContainer {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    background: #b9efff;
    border: 3px solid #006a6a;
    overflow: hidden;
    pointer-events: none;
    box-shadow: inset 0 8px 24px rgba(255, 255, 255, 0.22);
}

.svgContainer > div {
    position: relative;
    width: 100%;
    height: 100%;
}

.mySVG {
    display: block;
    width: 100%;
    height: 100%;
}

.login-box-yeti h2 {
    margin: 12px 0 18px;
    text-align: center;
    color: #005d5d;
    font-size: 1.7rem;
    line-height: 1.2;
}

.notice-box,
.alert {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    line-height: 1.45;
}

.notice-box {
    background: #e5f8fa;
    color: #005d5d;
    border: 1px solid rgba(0, 106, 106, 0.18);
}

.alert.alert-error {
    background: #fff1f1;
    color: #9c2f2f;
    border: 1px solid rgba(156, 47, 47, 0.16);
}

.yeti-form {
    margin: 0;
}

.yeti-form .form-row {
    margin-bottom: 18px;
}

.yeti-form label {
    display: block;
    margin: 0 0 10px;
    color: #006a6a;
    font-size: 1rem;
    font-weight: 700;
}

.yeti-form input[type="text"],
.yeti-form input[type="password"] {
    display: block;
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 0 18px;
    border: 2px solid #007878;
    border-radius: 16px;
    background: #f5fbfc;
    color: #22313a;
    font-size: 1.05rem;
    font-weight: 600;
    box-sizing: border-box;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    appearance: none;
}

.yeti-form input[type="text"]:focus,
.yeti-form input[type="password"]:focus {
    outline: none;
    border-color: #00a6a6;
    box-shadow: 0 0 0 4px rgba(0, 166, 166, 0.2);
    background: #ffffff;
}

.yeti-form .btn,
.yeti-form button[type="submit"] {
    display: block;
    width: 100%;
    height: 60px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #00807f 0%, #005d5d 100%);
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow 0.22s ease, filter 0.22s ease, background 0.22s ease;
    box-shadow: 0 14px 26px rgba(0, 106, 106, 0.24);
}

.yeti-form .btn:hover,
.yeti-form button[type="submit"]:hover {
    background: linear-gradient(180deg, #007675 0%, #005252 100%);
    filter: none;
}

.yeti-form .btn:focus-visible,
.yeti-form button[type="submit"]:focus-visible {
    background: #005d5d;
}

.yeti-form .btn:active,
.yeti-form button[type="submit"]:active {
    transform: translateY(0);
}

.captcha-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.svgContainer .armL,
.svgContainer .armR,
.svgContainer .eyeL,
.svgContainer .eyeR,
.svgContainer .nose,
.svgContainer .mouth,
.svgContainer .chin,
.svgContainer .face,
.svgContainer .eyebrow,
.svgContainer .outerEar,
.svgContainer .earHair,
.svgContainer .hair {
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    transform-box: fill-box;
    will-change: transform;
}

.svgContainer .face,
.svgContainer .eyebrow {
    transform-origin: center top;
}

.svgContainer .hair {
    transform-origin: center bottom;
}

.svgContainer .armL {
    transform-origin: top left;
}

.svgContainer .armR {
    transform-origin: top right;
}

@media (max-width: 560px) {
    body.login-body-yeti {
        padding: 16px;
    }

    .login-box-yeti {
        padding: 22px 18px 20px;
        border-radius: 22px;
    }

    .login-box-yeti h1 {
        font-size: 1.45rem;
    }

    .svgContainer {
        width: 180px;
        height: 180px;
    }
}

.login-box-yeti h1 {
    position: relative;
    margin: 0 0 20px;
    color: #0f2f36;
    font-size: 1.7rem;
    line-height: 1.2;
}

.password-field {
    position: relative;
}

.password-field .password-input {
    padding-right: 118px;
}

.password-toggle {
    position: absolute;
    right: 8px;
    bottom: 8px;
    min-width: 100px;
    min-height: 36px;
    padding: 6px 10px;
    color: #082229;
    background: #e8efef;
    border: 1px solid #6e8589;
    border-radius: 9px;
    font-weight: 700;
    cursor: pointer;
}

.captcha-wrapper {
    display: flex;
    max-width: 100%;
    justify-content: center;
    overflow: auto;
}

@media (prefers-reduced-motion: reduce) {
    .yeti-form input[type="text"],
    .yeti-form input[type="password"],
    .yeti-form .btn,
    .yeti-form button[type="submit"],
    .svgContainer .armL,
    .svgContainer .armR,
    .svgContainer .eyeL,
    .svgContainer .eyeR,
    .svgContainer .nose,
    .svgContainer .mouth,
    .svgContainer .chin,
    .svgContainer .face,
    .svgContainer .eyebrow,
    .svgContainer .outerEar,
    .svgContainer .earHair,
    .svgContainer .hair {
        transition: none !important;
    }
}
