.auth-page {
    min-height: 100vh;
    color: #DBDBDB;
    background:
        linear-gradient(180deg, rgba(14, 15, 17, 0.12), #0E0F11 78%),
        url("../img/Frame 19.svg") center / cover no-repeat,
        #0E0F11;
}

.auth {
    display: grid;
    min-height: 100vh;
    padding: 24px;
    place-items: center;
}

.auth__card {
    position: relative;
    width: min(440px, 100%);
    padding: 42px 38px 36px;
    border: 1px solid rgba(219, 219, 219, 0.42);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 44%),
        rgba(17, 19, 24, 0.88);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.auth__card::before {
    position: absolute;
    top: 0;
    right: 22px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #EF351D 0 34%, #FFFFFF 34% 62%, transparent 62%);
    content: "";
}

.auth__logo {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-bottom: 34px;
}

.auth__logo img:first-child {
    width: 58px;
}

.auth__logo img:last-child {
    width: 154px;
}

.auth__eyebrow {
    color: #FFFFFF;
    font-family: Bender, Arial, sans-serif;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth__title {
    margin-top: 8px;
    color: #DBDBDB;
    font-family: Bender, Arial, sans-serif;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.auth__subtitle {
    margin-top: 12px;
    color: #A4A4A4;
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
}

.auth__field {
    display: grid;
    gap: 8px;
    margin-top: 20px;
    color: #DBDBDB;
    font-family: Inter, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.auth__field input {
    height: 50px;
    padding: 0 15px;
    border: 1px solid rgba(219, 219, 219, 0.48);
    color: #DBDBDB;
    background: rgba(10, 11, 15, 0.38);
    font-family: Inter, Arial, sans-serif;
    font-size: 14px;
}

.auth__field input:focus {
    border-color: #FFFFFF;
}

.auth__error {
    margin-top: 16px;
    color: #EF351D;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
}

.auth__button {
    width: 100%;
    height: 50px;
    margin-top: 24px;
    color: #FFF;
    background: #EF351D;
    font-family: Bender, Arial, sans-serif;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    transition: color 160ms ease, background-color 160ms ease, filter 180ms ease, transform 160ms ease;
}

.auth__button:hover,
.auth__button:focus-visible {
    color: #1B1D23;
    background: #FFFFFF;
    filter: drop-shadow(0 5px 8px rgba(255, 255, 255, 0.22));
    transform: translateY(-2px);
}

@media (max-width: 520px) {
    .auth {
        padding: 18px;
    }

    .auth__card {
        padding: 38px 24px 28px;
    }

    .auth__title {
        font-size: 30px;
    }
}
