@import url("/static/common/ukijtuztom.css");

:root {
    --login-ink: #18243d;
    --login-muted: #91a0b2;
    --login-mint: #36c9aa;
    --login-bg: #effcf9;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
    background: var(--login-bg);
    color: var(--login-ink);
    font-family: "UKIJTuzTom", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
button, input, select, textarea, optgroup, option {
    font-family: "UKIJTuzTom", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 620px); gap: 7vw; align-items: center; padding: 46px 7vw; }
.login-intro { padding-left: 4vw; }
.login-intro .eyebrow { color: var(--login-mint); letter-spacing: 1px; font-size: 13px; font-weight: 700; }
.login-intro h1 { margin: 16px 0 14px; font-size: clamp(34px, 4vw, 58px); line-height: 1.15; }
.login-intro p { max-width: 520px; margin: 0; color: var(--login-muted); font-size: 17px; line-height: 1.8; }
.login-visual { max-width: 470px; margin-top: 42px; }
.login-visual svg { width: 100%; height: auto; display: block; }
.login-card { background: #fff; border: 1px solid #e4efed; border-radius: 16px; padding: clamp(30px, 5vw, 70px); box-shadow: 0 18px 45px rgba(31, 89, 79, .08); }
.login-logo { width: 68px; height: 68px; border-radius: 18px; display: block; object-fit: cover; margin: 0 auto 22px; }
.login-card h2 { margin: 0; text-align: center; font-size: 34px; }
.login-card .lead { margin: 12px 0 30px; text-align: center; color: var(--login-muted); }
.login-field { margin-top: 18px; position: relative; }
.login-field i { position: absolute; left: 18px; top: 17px; color: #b4c5c5; font-size: 18px; }
.login-field input { width: 100%; height: 58px; padding: 0 18px 0 52px; border: 0; outline: 0; border-radius: 9px; background: #f3fbf9; color: var(--login-ink); font-size: 16px; }
.login-field input:focus { box-shadow: 0 0 0 3px rgba(54, 201, 170, .16); }
.login-terms { display: flex; align-items: center; gap: 8px; margin: 26px 0; color: #a9b7ba; font-size: 13px; }
.login-terms input { accent-color: var(--login-mint); width: 17px; height: 17px; }
.login-submit { width: 100%; height: 58px; border: 0; border-radius: 9px; background: var(--login-mint); color: #fff; font-weight: 700; font-size: 17px; box-shadow: 0 12px 25px rgba(54, 201, 170, .22); }
.login-submit:hover { background: #20ae91; }
.login-submit { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background .2s ease, opacity .2s ease, transform .2s ease; }
.login-submit:active { transform: translateY(1px); }
.login-submit:disabled { cursor: wait; opacity: .78; }
.login-loading-ring { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .52); border-right-color: #fff; border-radius: 50%; }
.login-submit.is-loading .login-loading-ring { display: inline-block; animation: login-spin .72s linear infinite; }
@keyframes login-spin { to { transform: rotate(360deg); } }
.login-help { margin: 20px 0 0; text-align: center; color: #bdc8c9; font-size: 13px; }
.login-error {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    max-height: 0;
    margin: 0;
    padding: 0 13px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #bd3e4c;
    font-size: 13px;
    line-height: 1.55;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height .2s ease, margin .2s ease, padding .2s ease, opacity .2s ease, transform .2s ease;
}
.login-error i { flex: 0 0 auto; margin-top: 1px; color: #e65d67; font-size: 16px; }
.login-error span { min-width: 0; text-align: left; overflow-wrap: anywhere; }
.login-error.is-visible {
    max-height: 90px;
    margin: 16px 0;
    padding: 12px 13px;
    border-color: #f5c9ce;
    background: #fff4f5;
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 900px) {
    .login-shell { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; padding: 28px 20px 40px; }
    .login-intro { padding-left: 0; text-align: center; }.login-intro p { margin: auto; }.login-visual { display: none; }
    .login-card { padding: 34px 24px; }
}
