main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 15px 0;
}

.auth-card {
    width: min(100%, 880px);
    display: grid;
    grid-template-columns: 5fr 7fr;
    background-color: #fff;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(4, 77, 140, .2);
    overflow: hidden;
}

.auth-card-wide {
    width: min(100%, 1000px);
}

.auth-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 40px 32px;
    background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.auth-side::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background-color: var(--yellow);
    opacity: .9;
}

.auth-side h2 {
    font-size: 1.9rem;
    line-height: 1.15;
    font-weight: 700;
}

.auth-side p {
    color: #dbe9f7;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.auth-side .auth-side-note {
    color: var(--yellow);
    font-weight: 500;
}

.auth-main {
    padding: 40px 38px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--blue-dark);
    line-height: 1.1;
}

.auth-error {
    background-color: #fdecec;
    border-left: 5px solid var(--red);
    border-radius: 10px;
    padding: 12px 16px;
    color: #7a1313;
}

.auth-form,
.auth-main form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin: 0;
    width: 100%;
}

.auth-form label {
    font-weight: 600;
    margin-top: 8px;
    font-size: .95rem;
    color: var(--blue-dark);
}

.auth-main input[type="text"],
.auth-main input[type="email"],
.auth-main input[type="password"] {
    width: 100%;
    font-family: var(--font);
    font-size: 1rem;
    padding: 12px 16px;
    border: 2px solid #d9e2ec;
    border-radius: 12px;
    background-color: #f8fafc;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.auth-main input:focus {
    border-color: var(--blue);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(4, 77, 140, .15);
}

.auth-main input[type="submit"] {
    width: 100%;
    margin-top: 18px;
    padding: 14px;
    border: none;
    border-radius: 999px;
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--blue-dark);
    background-color: var(--yellow);
    box-shadow: 0 8px 22px rgba(242, 183, 5, .45);
    transition: transform .2s, background-color .2s;
}

.auth-main input[type="submit"]:hover {
    background-color: var(--yellow-soft);
    transform: translateY(-2px);
}

.auth-main .info-div {
    width: 100%;
    margin: 0;
    box-shadow: none;
    background-color: #fff9e0;
    font-size: .92rem;
}

.auth-alt {
    text-align: center;
    color: var(--muted);
}

.auth-alt a {
    font-weight: 600;
    color: var(--blue);
}

@media (max-width: 760px) {
    .auth-card,
    .auth-card-wide {
        grid-template-columns: 1fr;
    }

    .auth-side {
        padding: 26px 24px;
    }

    .auth-side p:not(.auth-side-note) {
        display: none;
    }

    .auth-main {
        padding: 28px 22px;
    }
}