@import "overlays.css";
@import "forms.css";
@import "primitives.css";

/* login form */
.login-overlay {
    font-size: 16px;
    text-align: left;
    width: 19.555rem;
    right: 0;
    color: #1F1F1F;
    & a {
    color: #1F1F1F;
    }
}

.login-overlay p {
    font-family: "AktivGrotesk", sans-serif;
    margin: 14px 0;
    a {
        text-decoration: underline;
    }
}

.login-overlay .overlay-content {
    padding: 0.81em 0.94em 2.5em 0.94em;
}
.login-overlay form {
    display: flex;
    flex-direction: column;
}

.login-overlay form .form-group {
    display: inline-block !important;
}

.login-overlay label {
    text-align: left;
    /*margin-bottom: 5px;*/
    padding-top: 0.625rem;
}

.login-overlay .form-group label {
    font-weight: 400;
}

.login-overlay button {
    margin-top: 1.875em;
    padding: 0.5em 1.25em;
    font-size: 0.9375em;
    letter-spacing: 0.00469em;
    width: 14em;
}

.login-overlay .size-normal {
    font-size: 0.875em;
}

.login-overlay .size-normal a {
    font-size: inherit;
}

#login-overlay a {
    color: #000;
    text-decoration: underline;
    &:hover {
        color: #AA0A25;
    }
}

.login-overlay .spacer {
    margin-top: 1.25em !important;
}

.login-overlay button:hover {
    background-color: #333333;
}

.login-overlay {
    & label:has(input[type="checkbox"]) {
        font-size: 0.875em;
        display: grid;
        grid-template-columns: 1em auto;
        gap: 1.5em;
        line-height: 1.5em;
    }
    & input[type="checkbox"] {
        width: 1.6875em;
        height: 1.6875em;
    }
    & input[type="checkbox"]::before {
        width: 1em;
        height: 1em;
    }
}

.login-overlay h2 {
    color: #1F1F1F;
    display: flex;
    padding-bottom: 0.9375em;
    margin: 0;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;

    font-feature-settings: 'case' on, 'clig' off, 'liga' off;

    /* DT/head-extrasmall */
    font-family: "AktivGrotesk", sans-serif;
    font-size: 1.28125em;
    font-style: normal;
    font-weight: 700;
    line-height: 110%; /* 1.40938rem */
    letter-spacing: -0.00256em;
    font-feature-settings: 'case' on, 'clig' off, 'liga' off;
}

.login-info {
    margin-bottom: 15px;
}

.login-overlay input[type="text"],
.login-overlay input[type="email"],
.login-overlay input[type="password"] {
    width: 100%;
    box-sizing: border-box;
}

.login-overlay a.field-related {
    color: #565656;
    margin-top: 2px;

    font-feature-settings: 'clig' off, 'liga' off;
    /* DT/link */
    font-family: "AktivGrotesk", sans-serif;
    font-size: 0.875em;
    font-style: normal;
    font-weight: 400;
    line-height: 200%; /* 1.75rem */
    text-decoration-line: underline;
}

/* show password icon */
.pwd-image {
    position: absolute;
    top: 2.5em;
    transform: translateY(-70%);
    right: 10px;
    width: 32px;
    height: auto;
    cursor: pointer;
}

.navBar[color="#fff"] .navbarLogo.black {
    filter: invert(93%) sepia(100%) saturate(1%) hue-rotate(251deg) brightness(104%) contrast(102%);
}


/* login warning with ad */

#warningModal {
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

#warningModal .login-overlay {
    right: unset;
    width: 100%;
    max-width: 42.5em;
    height: 54.375em;
}

#warningModal .login-overlay .overlay-content.form {
    background: #EBEBEB;
}

#warningModal .labeled-input  {
    border: none;
}

#warningModal .login-overlay .overlay-content.ad {
    box-shadow: unset;
}

#warningModal div.info {
    margin-bottom: 0.9375em;

    color: #1F1F1F;
    /* GUI/Info-bodytext */
    font-family: "AktivGrotesk", sans-serif;
    font-size: 1.125em;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5625em; /* 138.889% */
    letter-spacing: 0.00563em;
}

#warningModal button {
    padding: 0.8em 1.33333em 0.86667em 1.33333em;
    gap: 0.66667em;
    width: 15em;
}

#warningModal label {
    font-family: "AktivGrotesk", sans-serif;
}

div.ad h2 {
    margin-top: 0.62em;
    color: #1F1F1F;
    font-feature-settings: 'clig' off, 'liga' off;

    /* GUI/marketing-head */
    /*font-family: Knile;*/
    font-family: AktivGrotesk, sans-serif;
    font-size: 1.875em;
    font-style: normal;
    font-weight: 300;
    line-height: 120%; /* 2.25rem */
}

div.ad p {
    margin-right: 1.88em;
    color: var(--text, #1F1F1F);

    /* GUI/Info-bodytext */
    font-family: "AktivGrotesk", sans-serif;
    font-size: 1.125em;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5625em; /* 138.889% */
    letter-spacing: 0.00563em;
}

div.ad img {
    width: 19.375em;
    height: 12.90894em;
    flex-shrink: 0;
    align-self: flex-end;
}

div.ad a.button {
    width: 12.5rem;
    padding: 0.75em 1.25em 0.8125em 1.25em;
    margin-top: 1.25em;
}

div.ad p {
    max-width: 17em;
}