.auth--green {
    --auth-green: #008454;
    --auth-green-dark: #006b44;
    font-family: 'Work Sans', Arial, sans-serif;
    height: auto;
    min-height: 70vh;
    margin: 0;
    padding: 56px 16px;
    background: radial-gradient(ellipse at center, #e9f8f0 0%, #f5fbf8 45%, transparent 72%);
}

.auth--green .auth__box {
    max-width: 660px;
    padding: 36px 40px;
    border: 1px solid #dcece3;
    border-top: 4px solid #00b278;
    border-radius: 20px;
    box-shadow: 0 16px 48px #174f3210;
}

.auth--green .auth__item-box h1 {
    color: #163d2c;
    text-transform: none;
    line-height: 1.25;
}

.auth--green .auth__subtitle {
    margin-top: 10px;
    color: #64746b;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.auth--green .auth__roles {
    gap: 6px;
    padding: 5px;
    border-radius: 12px;
    background: #f0f7f3;
}

.auth--green .auth__roles button {
    flex: 1;
    min-width: 0;
    padding: 12px 8px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #53665b;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.auth--green .auth__roles button.active {
    border-color: #c4e8d5;
    background: #fff;
    color: var(--auth-green);
    box-shadow: 0 2px 6px #174f320a;
}

.auth--green .input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.auth--green .auth__field-label {
    color: #304b3c;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
}

.auth--green .auth__input .input-wrapper input {
    width: 100%;
    min-height: 50px;
    padding: 14px;
    border: 1px solid #cdded4;
    border-radius: 12px;
    background: #fbfdfc;
    color: #243b2e;
    font-size: 16px;
    transition: border-color .2s, box-shadow .2s;
}

.auth--green .auth__input .input-wrapper input::placeholder {
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: #75867c;
}

.auth--green .auth__input .input-wrapper input:focus {
    border-color: var(--auth-green);
    outline: none;
    box-shadow: 0 0 0 3px #00845420;
    color: #243b2e !important;
    font-size: 16px;
}

.auth--green .auth__password-warning {
    margin-top: 12px;
    color: #64746b;
    line-height: 1.6;
}

.auth--green .auth__password-show {
    display: inline-flex;
    gap: 10px;
    min-height: 44px;
    margin-top: 8px;
    cursor: pointer;
}

.auth--green .auth__password-show input {
    appearance: auto;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--auth-green);
    cursor: pointer;
}

.auth--green .auth__password-show span {
    width: auto;
    height: auto;
    border: 0;
    background: none;
    color: #53665b;
    font-size: 13px;
}

.auth--green .auth__bottom {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 20px;
    margin-top: 20px;
}

.auth--green .auth__bottom-right { margin-top: 0; }
.auth--green .auth__bottom-wrapper { text-align: center; }
.auth--green .auth__bottom-left { line-height: 1.7; }
.auth--green .auth__bottom-left.forgot { margin-top: 8px; }
.auth--green .auth__bottom-left a { color: var(--auth-green); }
.auth--green .auth__bottom-left a:hover { text-decoration: underline; }

.auth--green .auth__bottom-right button {
    min-width: 0;
    min-height: 50px;
    background: var(--auth-green);
    transition: background .2s;
}

.auth--green .auth__bottom-right button:hover { background: var(--auth-green-dark); }
.auth--green .auth__bottom-right button:disabled {
    opacity: .65;
    cursor: wait;
}

.auth--green .auth__forgot-success {
    margin-top: 20px;
    padding: 14px 16px;
    border: 1px solid #c4e8d5;
    border-radius: 12px;
    background: #edf8f1;
    color: #006b44;
    font-size: 14px;
    line-height: 1.6;
}

.auth--green :is(button, a, input[type="checkbox"]):focus-visible {
    outline: 3px solid #00845480;
    outline-offset: 3px;
}

.auth--green .auth__errors:not([style*="display: none"]) {
    padding: 12px 16px;
    border-radius: 10px;
    background: #fff2f2;
}
.auth--green .auth__errors p { color: #a32626; line-height: 1.5; }
.auth--green [x-cloak] { display: none !important; }

@media (max-width: 600px) {
    .auth--green { min-height: 0; padding: 28px 0; }
    .auth--green .auth__box { padding: 28px 20px; border-radius: 16px; }
    .auth--green .auth__item-box h1 { font-size: 25px; }
    .auth--green .auth__input.register { grid-template-columns: 1fr; gap: 16px; }
    .auth--green .auth__bottom { display: flex; }
}
