@import "variables.css";
@import "typography.css";
@import "forms.css";

html {
    font-size: 14px;
}

body {
    background: var(--deheus-tertiary-color);
}

body * {
    font-size: 1rem;
    font-family: "Inter", Helvetica, Arial, sans-serif !important;
    font-weight: 300;
    color: var(--deheus-base-font-color);
    box-sizing: border-box;
}

body.login-action-checkemail .notice.notice-info.message {
    padding-bottom: var(--deheus-indent-m);
    border-bottom: 1px solid var(--deheus-border-color);
}

body.login-action-checkemail .notice.notice-info.message p a {
    font-weight: inherit;
    font-size: inherit;
}

.login form .input {
    margin-bottom: calc(var(--deheus-indent-base) * 1.4);
}

.login form {
    box-shadow: none;
    border: 1px solid var(--deheus-border-color);
    border-bottom: 0;
    padding: var(--deheus-indent-m);
    display: flex;
    flex-direction: column;
    margin: 0;
    position: relative;
    overflow: initial;
}

#login {
    padding-top: 0;
    top: 50%;
    position: relative;
    transform: translateY(-50%);
}

#login #reg_passmail,
#login form .indicator-hint {
    margin-top: 10px;
}

#login form p label {
    display: block;
}

#login form p input + label {
    display: inline;
}

.notice.notice-info.message.reset-pass {
    padding-bottom: 25px;
}

.notice.notice-info.message.reset-pass p a {
    font-weight: bold;
    font-size: inherit;
    color: inherit;
}

.language-switcher,
#backtoblog,
#login > h1 a {
    display: none;
}

#login > h1:before {
    content: '';
    background-image: url('../images/deheus-logo.png');
    background-repeat: no-repeat;
    background-size: 100%;
    width: 114px;
    height: 105px;
    display: block;
    position: absolute;
    left: 50%;
    margin-top: calc((-105px - var(--deheus-indent-m)));
    transform: translateX(-50%);
}

.login #nav {
    background: var(--white);
    margin: 0;
    border: 1px solid var(--deheus-border-color);
    border-top: 0;
    padding: var(--deheus-indent-m);
    padding-top: 0;
    display: flex;
    justify-content: space-between;
    color: var(--white);
}

.notice.notice-info.message {
    border: 1px solid var(--deheus-border-color);
    border-bottom: 0;
    box-shadow: none;
    margin: 0;
    padding: var(--deheus-indent-m);
    padding-bottom: 0;
}

.notice.notice-info.message p {
    font-size: 1.2rem;
    font-weight: 700;
}

body.login-action-lostpassword .notice.notice-info.message p {
    font-size: 0;
}

body.login-action-lostpassword .notice.notice-info.message p:before {
    content: 'Wachtwoord vergeten';
    font-size: 1.2rem;
}

.notice.notice-info.message ~ form {
    border-top: 0;
}

.login #nav a,
.login #nav a:focus {
    font-size: .8rem;
    outline: none;
    box-shadow: none;
}

.login #nav a {
    position: relative;
    z-index: 1;
}

#wp-submit {
    width: 100%;
    font-weight: 700;
    background: var(--deheus-primary-color);
    height: var(--deheus-input-height);
    border: 0;
    border-radius: 9999px;
    font-size: 1rem;
    margin-top: var(--deheus-indent-base);
}

#wp-submit:hover,
#wp-submit:focus,
#wp-submit:active {
    background: var(--deheus-button-secondary-color);
    outline: 0;
    box-shadow: none;
}

input[type="text"],
input[type="password"] {
    padding: 0 calc(var(--deheus-indent-s) * 3) !important;
    font-size: 1rem !important;
}

input[type=checkbox],
input[type=checkbox]:checked,
input[type=checkbox]:focus {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid var(--deheus-border-color);
    height: 20px;
    width: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login form input[type=checkbox]:checked {
    background: var(--deheus-button-secondary-color);
    border-color: var(--deheus-button-secondary-color);
}

input[type=checkbox]:checked:before {
    -webkit-mask-image: url('../images/check-solid.svg');
    mask-image: url('../images/check-solid.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    content: '';
    display: block;
    position: relative;
    font-size: inherit;
    width: 11px;
    left: 1px;
    top: 1px;
    height: 13px;
    background: var(--white);
}

input[type=checkbox]:checked::before,
form label {
    font-weight: 700;
}

.login .button.wp-hide-pw {
    height: 50px;
    display: flex;
    align-items: center;
}

.login .button.wp-hide-pw:focus {
    outline: none;
    box-shadow: none;
    border: 0;
}

.login .button.wp-hide-pw .dashicons {
    top: 0 !important;
    font-size: 19px;
}

.dashicons:before {
    font-family: 'dashicons' !important;
}

.login-action-register #login {
    padding-top: 156px;
    top: auto;
    transform: unset;
}

.login-action-register #login p.phone-number,
.login-action-register #login p.first-name,
.login-action-register #login p.last-name {
    order: 1;
}

.login-action-register #login p.checkbox-ordered-group {
    order: 2;
}

.login-action-register #login p.submit,
.login-action-register #login p#reg_passmail {
    order: 3;
}

.login-action-register #login p#reg_passmail {
    order: -1;
    margin-top: -15px;
}