.auth-body {
    margin: 0;
    min-height: 100vh;
    color: #18222d;
    background: #fff;
}

.auth-shell {
    display: grid;
    grid-template-columns:
        minmax(350px, 28vw)
        minmax(0, 1fr);
    min-height: 100vh;
}

.auth-panel {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px 36px 30px;
    background: #fff;
    box-shadow: 12px 0 38px rgb(0 0 0 / 13%);
}

.auth-language {
    display: flex;
    justify-content: flex-end;
}

.auth-language .language-switcher {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    width: 78px;
    padding: 2px;
    border: 1px solid #dce2e7;
    border-radius: 5px;
    background: #f4f6f8;
}

.auth-language .language-switcher-link {
    min-width: 0;
    min-height: 29px;
    border-radius: 3px;
    color: #667382;
    font-size: 10px;
}

.auth-language .language-switcher-link.is-active {
    color: #fff;
    background: #e85a32;
}

.auth-content {
    width: min(100%, 300px);
    margin: auto;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 58px;
}

.auth-brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    color: #fff;
    background: #e85a32;
    font-size: 16px;
    font-weight: 800;
}

.auth-brand div {
    display: grid;
}

.auth-brand strong {
    font-size: 23px;
}

.auth-brand small {
    color: #738090;
    font-size: 11px;
}

.auth-heading span {
    color: #e85a32;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-heading h1 {
    margin: 8px 0 8px;
    font-size: 31px;
    line-height: 1.1;
}

.auth-heading p {
    margin: 0 0 30px;
    color: #6d7987;
    font-size: 13px;
    line-height: 1.5;
}

.auth-form {
    display: grid;
    gap: 23px;
}

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

.auth-field label {
    color: #687687;
    font-size: 11px;
}

.auth-field input {
    width: 100%;
    min-height: 43px;
    padding: 7px 0;
    border: 0;
    border-bottom: 1px solid #aeb7c0;
    border-radius: 0;
    outline: none;
    background: transparent;
    font: inherit;
}

.auth-field input:focus {
    border-bottom-color: #e85a32;
    box-shadow: 0 1px 0 #e85a32;
}

.auth-password {
    position: relative;
}

.auth-password input {
    padding-right: 42px;
}

.auth-password button {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 42px;
    border: 0;
    color: #687687;
    background: transparent;
    cursor: pointer;
}

.auth-submit {
    justify-self: center;
    min-width: 150px;
    min-height: 40px;
    margin-top: 9px;
    padding: 0 24px;
    border: 0;
    border-radius: 20px;
    color: #fff;
    background: #e85a32;
    font-weight: 700;
    cursor: pointer;
}

.auth-submit:hover {
    background: #c94725;
}

.auth-error {
    padding: 11px 13px;
    border-left: 3px solid #c93333;
    color: #8b2222;
    background: #fff0f0;
    font-size: 12px;
}

.auth-help {
    margin-top: 32px;
    color: #7c8793;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.auth-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px 7px;
    margin-top: auto;
    color: #7b8792;
    text-align: center;
}

.auth-footer span {
    color: #29343f;
    font-size: 10px;
    font-weight: 700;
}

.auth-footer small {
    font-size: 10px;
}

.auth-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-width: 0;
    overflow: hidden;
    padding: 56px;
    color: #fff;
    background-color: #25323d;
    background-image:
        linear-gradient(
            rgb(210 214 218 / 18%),
            rgb(210 214 218 / 18%)
        ),
        url('/images/ignis-2ab-bg.webp'),
        linear-gradient(
            135deg,
            #21313d,
            #67514a
        );
    background-position: center;
    background-size: cover;
}

.auth-visual::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgb(105 110 115 / 22%)
        );
}

.auth-visual-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
}

.auth-visual-content span {
    color: #ff7650;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-visual-content strong {
    display: block;
    margin-top: 8px;
    font-size: clamp(28px, 3vw, 50px);
    line-height: 1.08;
}

.auth-visual-content p {
    max-width: 500px;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .auth-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-visual {
        display: none;
    }

    .auth-panel {
        min-height: 100vh;
        padding-inline: 28px;
    }
}

@media (max-width: 480px) {
    .auth-panel {
        padding: 18px 20px 24px;
    }

    .auth-brand {
        margin-bottom: 40px;
    }
}
