html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

/* header */

header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: white;
    border-bottom: solid 1px var(--pp-color-stroke-primary);
}

header .inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 86px;
    max-width: 1024px;
    width: 100%;
    padding-inline: 15px;
    margin: auto;
}

.logo {
    height: 55px;
    width: 198px;
}

/* form */
.content-wrapper {
    display: flex;
    align-items: center;
    flex: 1 0 auto;
    flex-direction: column;
}

#form-login, #form-register, #reset-password-form, #update-password-form, div.content-form {
    background-color: var(--pp-color-surface-action-snow-default);
    padding: 30px;
    width: 100%;
    max-width: 500px;
}

#form-message {
    padding-bottom: 10px;
}

.form-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.password-wrapper {
    position: relative;
}

.password-visibility-toggle {
    position: absolute;
    right: 15px;
    top: 40px;
    cursor: pointer;
    fill: rgba(0, 0, 0, 0.7);
    background: transparent;
    border: 0;
}

.forgot-password-wrapper {
    display: flex;
    justify-content: right;
    padding-top: 10px;
}

#primary-btn {
    max-width: 100%;
}

.centered-text {
    text-align: center;
}

.registration-link {
    padding-left: 0;
}


/* footer */
footer {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--pp-color-surface-static-neutral);
    border-radius: 5px 5px 0px 0px;
    border-bottom: 3px solid var(--pp-color-stroke-primary);
}

footer .legal-content {
    padding: 10px 30px;
    text-align: center;
    margin-top: 30px;
    border-radius: 5px;
}

footer .legal-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

footer .legal-content ul li {
    display: inline-block;
    padding: 4px 0;
    line-height: 22px;
}

footer .legal-content ul li:not(:last-child):after {
    width: 1px;
    margin-left: 10px;
    margin-right: 8px;
    background-color: var(--pp-color-surface-static-neutral);
    display: inline-block;
    height: 14px;
    top: 3px;
    position: relative;
    content: "";
}

footer .legal-content ul li a {
    color: var(--pp-color-text-subtle);
    font-size: 12px;
    padding: 5px 0px;
    font-weight: unset;
}

footer .copyright {
    color: var(--pp-color-text-default);
    opacity: 70%;
    font-size: 12px;
    padding: 10px 30px;
    text-align: center;
    line-height: 16px;
}

/* header + footer media queries */
@media screen and (max-width: 960px) {
    header .inner {
        width: 100%;
    }

    footer .legal-content {
        margin-top: 20px;
    }
}

@media screen and (min-width: 961px) and (max-width: 1139px) {
    header .inner {
        width: 960px;
    }
}


@media (max-width: 768px) {
    .form-controls {
        margin: 0;
    }
}

.hidden {
    display: none;
}

.a-link {
    padding-left: 0;
    padding-right: 0;
}


@media screen and (max-width: 560px) {
    #form-login, #form-register {
        border-radius: 0px;
    }
}

.back-to-login-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.icon {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

#proceedWithAction:before {
    content: "»";
    padding-right: 2px;
}

#backToApplication:before,
.back-to-app:before,
#back-to-login-link:before {
    content: "«";
    padding-right: 2px;
}

.registration-button-and-tc {
    padding-top: 5px;
    gap: 5px;
    display: flex;
    flex-direction: column;
}
