body.auth-body-clean {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    border-top: 0;
    background:
        radial-gradient(circle at top left, rgba(31, 179, 93, 0.08), transparent 24%),
        radial-gradient(circle at bottom right, rgba(255, 207, 45, 0.08), transparent 20%),
        linear-gradient(180deg, #f7faf7 0%, #eef4ef 100%);
    color: #173223;
}

body.auth-body-clean.is-auth-busy {
    overflow: hidden;
}

.auth-clean-background {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.auth-clean-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
}

.auth-clean-glow-one {
    top: 6%;
    left: -8%;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(31, 179, 93, 0.15) 0%, rgba(31, 179, 93, 0) 72%);
}

.auth-clean-glow-two {
    right: -6%;
    bottom: 10%;
    width: 16rem;
    height: 16rem;
    background: radial-gradient(circle, rgba(255, 207, 45, 0.14) 0%, rgba(255, 207, 45, 0) 72%);
}

.auth-clean-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100%;
    padding: 24px;
    display: grid;
    place-items: center;
}

.auth-clean-card {
    width: min(100%, 460px);
    padding: 34px 30px 30px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(23, 50, 35, 0.08);
    box-shadow: 0 28px 70px rgba(22, 45, 30, 0.1);
    backdrop-filter: blur(10px);
    display: grid;
    justify-items: center;
}

.auth-clean-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
}

.auth-clean-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #2bc56a 0%, #17924b 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 14px 26px rgba(31, 179, 93, 0.2);
}

.auth-clean-brand-copy span {
    display: block;
    color: #60806a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-clean-brand-copy strong {
    display: block;
    margin-top: 4px;
    color: #173223;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.auth-clean-copy {
    margin-top: 28px;
    width: min(100%, 360px);
    text-align: center;
}

.auth-clean-eyebrow {
    color: #208a4d;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-clean-copy h1 {
    margin-top: 12px;
    color: #10281b;
    font-size: clamp(2.1rem, 7vw, 2.9rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.auth-clean-copy p {
    margin-top: 12px;
    color: #5a7262;
    font-size: 0.98rem;
    line-height: 1.7;
}

.auth-clean-notice {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 0.93rem;
    line-height: 1.5;
    border: 1px solid transparent;
    width: 100%;
    text-align: center;
}

.auth-clean-notice-error {
    background: #fff2f2;
    border-color: #ffd8d8;
    color: #9d3030;
}

.auth-clean-notice-success {
    background: #edf9f0;
    border-color: #d2f0da;
    color: #1f7e47;
}

.auth-clean-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
    width: min(100%, 360px);
}

.auth-clean-field {
    display: grid;
    gap: 9px;
}

.auth-clean-field label,
.auth-clean-field-head label {
    color: #183423;
    font-size: 0.92rem;
    font-weight: 700;
}

.auth-clean-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-clean-field-head span {
    color: #7e9485;
    font-size: 0.84rem;
}

.auth-clean-input-shell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #dce7de;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.auth-clean-input-shell:focus-within {
    border-color: rgba(31, 179, 93, 0.34);
    box-shadow: 0 0 0 4px rgba(31, 179, 93, 0.12);
    transform: translateY(-1px);
}

.auth-clean-input {
    flex: 1;
    min-width: 0;
    height: 54px;
    border: 0;
    background: transparent;
    color: #173223;
    font: inherit;
}

.auth-clean-input::placeholder {
    color: #97a99c;
}

.auth-clean-input:focus {
    outline: none;
}

.auth-clean-password-toggle {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #208a4d;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 2px 6px 8px;
}

.auth-clean-actions {
    margin-top: 4px;
    text-align: center;
}

.auth-clean-submit {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #28c262 0%, #16914a 100%);
    color: #ffffff;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 18px 30px rgba(31, 179, 93, 0.18);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.auth-clean-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 22px 34px rgba(31, 179, 93, 0.22);
}

.auth-clean-submit:disabled {
    opacity: 0.82;
    cursor: not-allowed;
}

.auth-clean-footnote {
    margin-top: 14px;
    color: #79907f;
    font-size: 0.86rem;
    text-align: center;
}

.auth-preloader {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: grid;
    place-items: center;
    background: rgba(244, 250, 246, 0.86);
    backdrop-filter: blur(12px);
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.auth-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.auth-preloader-core {
    min-width: 220px;
    padding: 24px 26px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(23, 50, 35, 0.08);
    box-shadow: 0 24px 50px rgba(22, 45, 30, 0.08);
    display: grid;
    justify-items: center;
    gap: 16px;
    color: #173223;
}

.auth-preloader-mark {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #2bc56a 0%, #16914a 100%);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 16px 24px rgba(31, 179, 93, 0.16);
}

.auth-preloader-dots {
    position: relative;
    width: 88px;
    height: 16px;
}

.auth-preloader-dots span {
    position: absolute;
    top: 3px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #208a4d;
    animation: auth-windows-dots 1.4s infinite ease-in-out;
}

.auth-preloader-dots span:nth-child(1) { animation-delay: 0s; }
.auth-preloader-dots span:nth-child(2) { animation-delay: 0.12s; }
.auth-preloader-dots span:nth-child(3) { animation-delay: 0.24s; }
.auth-preloader-dots span:nth-child(4) { animation-delay: 0.36s; }
.auth-preloader-dots span:nth-child(5) { animation-delay: 0.48s; }

@keyframes auth-windows-dots {
    0% {
        transform: translateX(0) scale(0.35);
        opacity: 0.2;
    }

    20% {
        transform: translateX(16px) scale(0.75);
        opacity: 0.55;
    }

    45% {
        transform: translateX(36px) scale(1);
        opacity: 1;
    }

    65% {
        transform: translateX(56px) scale(0.75);
        opacity: 0.55;
    }

    100% {
        transform: translateX(76px) scale(0.35);
        opacity: 0.2;
    }
}

@media (max-width: 640px) {
    .auth-clean-shell {
        padding: 16px;
    }

    .auth-clean-card {
        padding: 26px 22px 24px;
        border-radius: 24px;
    }

    .auth-clean-copy h1 {
        font-size: clamp(1.9rem, 12vw, 2.5rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-clean-input-shell,
    .auth-clean-submit,
    .auth-preloader,
    .auth-preloader-dots span {
        animation: none !important;
        transition: none !important;
    }
}
