body.no-sidebar > .container {
    margin-left: 0;
    width: 100%;
    padding: 0;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}
.auth-wrap {
    width: min(100%, 460px);
    text-align: center;
}
.auth-wrap--register {
    width: min(100%, 500px);
}
.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.auth-brand-icon {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fdfdf9;
    font-size: 1rem;
    font-variation-settings:
        "FILL" 1,
        "wght" 500,
        "GRAD" 0,
        "opsz" 20;
}
.auth-brand-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: left;
}
.auth-brand-subtitle {
    margin: 0.05rem 0 0;
    color: #8a9185;
    font-size: 0.72rem;
    line-height: 1;
    text-align: left;
}
.auth-headline h2 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}
.auth-headline p {
    margin: 0.35rem 0 1.15rem;
    color: #7f8878;
    font-size: 0.82rem;
}
.auth-card {
    background: #ffffff;
    border: 1px solid #dfe4dc;
    border-radius: 0.5rem;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.07);
    padding: 1rem;
    text-align: left;
}
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
}
.auth-alert {
    margin: 0;
    border-radius: 0.35rem;
    padding: 0.52rem 0.6rem;
    font-size: 0.76rem;
    line-height: 1.3;
}
.auth-alert--error {
    border: 1px solid rgba(242, 137, 29, 0.45);
    background: rgba(242, 137, 29, 0.14);
    color: #8a4f0f;
}
.auth-alert--success {
    border: 1px solid rgba(97, 167, 41, 0.45);
    background: rgba(97, 167, 41, 0.14);
    color: #2f5d14;
}
.auth-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
}
.auth-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #31382f;
}
.auth-input {
    width: 100%;
    border: 1px solid #e3e6e1;
    background: #f3f5f2;
    border-radius: 0.35rem;
    padding: 0.58rem 0.7rem;
    font-size: 0.8rem;
    color: #2f3a28;
}
.auth-input:focus {
    outline: 0;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(97, 167, 41, 0.16);
}
.auth-input::placeholder {
    color: #98a08f;
}
.auth-password-wrap {
    position: relative;
}
.auth-password-wrap .auth-input {
    padding-right: 2.3rem;
}
.auth-captcha-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
}
.auth-captcha-image {
    height: 50px;
    width: 170px;
    border: 1px solid #d6ddd0;
    border-radius: 0.35rem;
    background: #f7f9f5;
    object-fit: cover;
}
.auth-captcha-refresh {
    border: 1px solid #d0d8c8;
    background: #ffffff;
    color: #3d4738;
    border-radius: 0.35rem;
    padding: 0.42rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
}
.auth-captcha-refresh:hover,
.auth-captcha-refresh:focus {
    border-color: var(--color-primary);
    color: var(--color-secondary);
}
.auth-captcha-help {
    margin: 0.2rem 0 0;
    color: #7b8375;
    font-size: 0.68rem;
}
.auth-eye-btn {
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: rgba(0, 0, 0, 0);
    color: #8b9385;
    padding: 0;
    width: 1.4rem;
    height: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}
.auth-eye-btn .material-symbols-outlined {
    font-size: 1rem;
}
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.1rem;
}
.auth-check-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #6f776b;
}
.auth-check-label input {
    width: 0.85rem;
    height: 0.85rem;
}
.auth-terms-row {
    display: flex;
    align-items: flex-start;
    gap: 0.42rem;
    margin-top: 0.15rem;
    cursor: pointer;
}
.auth-terms-row input {
    width: 0.85rem;
    height: 0.85rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.auth-terms-text {
    font-size: 0.74rem;
    line-height: 1.35;
    color: #6f776b;
}
.auth-password-rules {
    margin-top: 0.1rem;
    border: 1px solid #e3e6e1;
    background: #f8faf7;
    border-radius: 0.35rem;
    padding: 0.58rem 0.7rem;
}
.auth-password-rules-title {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
    color: #31382f;
}
.auth-password-rules-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.25rem;
}
.auth-password-rule {
    font-size: 0.72rem;
    line-height: 1.3;
    color: #7c8577;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.auth-password-rule::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #b9c0b4;
    flex: 0 0 0.45rem;
}
.auth-password-rule.is-valid {
    color: #205c33;
}
.auth-password-rule.is-valid::before {
    background: #2f9d47;
}
.auth-link {
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
}
.auth-link:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}
.auth-submit {
    width: 100%;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0.35rem;
    padding: 0.54rem 0.7rem;
}
.auth-register-line {
    margin: 0.8rem 0 0;
    text-align: center;
    color: #727b6d;
    font-size: 0.75rem;
}
.auth-headline--forgot p {
    max-width: 42ch;
    margin-left: auto;
    margin-right: auto;
}
.auth-back-line {
    margin: 1rem 0 0;
    text-align: center;
}
.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.auth-back-link .material-symbols-outlined {
    font-size: 0.95rem;
}
.auth-help-line {
    margin: 0.95rem 0 0;
    color: #8b9287;
    font-size: 0.68rem;
    text-align: center;
}
.auth-legal {
    margin: 0.95rem 0 0;
    color: #8b9287;
    font-size: 0.62rem;
    text-align: center;
}

@media (max-width: 575.98px) {
    .auth-shell {
        padding: 1rem 0.75rem;
    }
    .auth-headline h2 {
        font-size: 1.7rem;
    }
    .auth-card {
        padding: 0.85rem;
    }
}
