html {
    --body-bg-color: #f8f7f4;
    --red: #fa3f2c;
}
body {
    height: 100vh;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Instrument Sans', sans-serif;
    overflow: hidden;
    background-image: url("/images/login_bg.png");
    background-color: var(--body-bg-color);
    background-blend-mode: exclusion;
    display: flex;
    justify-content: center;
    align-items: center;
}

body::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-10%, -50%);
    background: radial-gradient(var(--red), #fff);
    filter: blur(150px);
    opacity: 0.30;
    z-index: 1;
}
body::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(50%, 50%);
    background: radial-gradient(#ffc919, #fff);
    filter: blur(150px);
    opacity: 0.30;
    z-index: 1;
}

/* common */
button[type="submit"] {
    font-size: 1rem;
    font-family: 'Instrument Sans', sans-serif;
    cursor: pointer;
    border: none;
}
.errors {
    color: var(--red);
}

#login-box {
    background-color: #fcf9f6;
    border: 1px solid #fa988d;
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    z-index: 2;
}

#login-box svg {
    width: 20px;
    height: 20px;
}

#login-box h1 {
    font-weight: 500;
}

#login-box hr {
    height: 1px; 
    border: none; 
    background-color: #b1adab;
}

#login-text {
    color: #4c4948;
    padding-bottom: 40px;
}

#login-options {
    display: flex;
    flex-flow: row;
    justify-content: center;
    gap: 10px;
}

#or-sign-with-email {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: #4c4a49;
    margin: 20px 0 20px 0;
    /* flex-flow: row; */
}

/* form fields */
form .errors {
    margin: 20px 0;
}
.field {
    margin: 20px 0;
    position: relative;
}
.field input {
    width: 100%;
    height: 48px;
    padding: 20px 20px 20px 40px;
    border-radius: 999px;
    border: 1px solid #d8d8d8;
    font-size: 16px;
    box-sizing: border-box;
}
.field input.err {
    border: 1px solid var(--red);
}
.field svg {
    stroke: #7f7f7f;
}
.field svg.icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.field svg[class^="eye"] {
    position: absolute;
    left: calc(100% - 30px);
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
.field svg.eye-opened {
    display: none;
}

/* remember me */
#keep-me-logged-in {
    display: flex;
    flex-flow: row;
    margin: 20px 3px;
}
#keep-me-logged-in > div {
    flex: 1;
}
#keep-me-logged-in > div:nth-child(1) {
    text-align: left;
}
#keep-me-logged-in > div:nth-child(2) {
    text-align: right;
}
#keep-me-logged-in a {
    color: #2c7efa;
    text-decoration: none;
    font-weight: 600;
}

/* login button */
#login-button-container span {
    display: inline-block;
}
#login-button {
    width: 100%;
    border-radius: 999px;
    margin-top: 30px;
    padding: 1.2rem;
    color: #000;
    font-weight: 500;
    background-color: #ffc919;
    text-align: center;
    box-sizing: border-box;
}
#login-button svg {
    width: 22px;
    height: 15px;
    vertical-align: -2px;
}

/* register line */
#register {
    margin-top: 10px;
}
#register a {
    color: var(--red);
    text-decoration: none;
    font-weight: 500;
}