.loginCard {
    box-sizing: border-box;
    width: 410px;
    max-width: 92%;
    max-height: 92%;
    margin: auto;
    padding: 35px 34px;
    border: 0;
    border-radius: 12px;
    background-color: #fff7ee;
    color: #c9164b;
    overflow: auto;
}

.loginCard::backdrop {
    background-color: rgba(0, 0, 0, 0.54);
}

.closeLogin {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    font-size: 22px;
    cursor: pointer;
}

.loginIntro, .loginCard h2, .returnLogin {
    text-align: center;
}

.loginIntro {
    font-size: 15px;
}

.loginCard h2 {
    margin: 14px 0 36px;
    font-size: 34px;
}

.accountForm {
    display: grid;
    gap: 24px;
}

.passwordField {
    position: relative;
}

.passwordField input {
    padding-right: 48px;
}

.eyeButton {
    position: absolute;
    top: 0;
    right: 5px;
    height: 100%;
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
}

.eyeButton img {
    width: 21px;
    height: auto;
}

.accountAction {
    width: 100%;
    min-height: 44px;
    background-color: #c9164b;
    color: #fff7ee;
    cursor: pointer;
}

.accountAction:hover {
    background-color: #fddee1;
    color: #c9164b;
}

.registerLink:hover, .returnLogin a:hover {
    color: #f65995;
}

.accountMessage:empty {
    display: none;
}

.accountMessage, .registerLink, .returnLogin {
    font-size: 13px;
}

.registerLink, .returnLogin a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.registerLink {
    display: inline-block;
    margin-top: 24px;
}

.registerPage {
    display: grid;
    grid-template-columns: 51.2% 48.8%;
    min-height: 100vh;
}

.registerArt {
    background-color: #fddee1;
}

.registerArt img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
}

.registerPanel {
    align-self: center;
    padding: 68px 9%;
}

.registerPanel .eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 2px;
}

.registerPanel h1 {
    margin-bottom: 48px;
    font-size: 48px;
    line-height: 1.15;
}

.registerPanel .contactBox {
    border-color: transparent;
    border-radius: 4px;
}

.registerChecks {
    font-size: 11px;
}

.registerChecks label {
    display: block;
    margin-bottom: 8px;
}

.registerChecks input {
    margin-right: 6px;
    vertical-align: middle;
    accent-color: #c9164b;
}

.registerDivider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0;
}

.registerDivider hr {
    flex: 1;
    border: 0;
    border-top: 1px solid #f5c9d2;
}

.registerDivider img {
    width: 16px;
}

.returnLogin a {
    margin-left: 4px;
    font-family: "Outfit Bold", Arial, sans-serif;
}

@media (max-width: 768px) {
    .loginCard {
        padding: 32px 22px;
    }

    .registerPage {
        grid-template-columns: 1fr;
    }

    .registerPanel {
        grid-row: 1;
        padding: 38px 6%;
    }

    .registerPanel h1 {
        font-size: 38px;
        margin-bottom: 30px;
    }
}
