:root {
    --white: #ffffff;
    --blue: #00294D;
    --blue-30: #b3bfc9;
    --blue-50: #8094a6;
    --blue-90: #1a3e5f;
    --primary: var(--blue);
    --picton-blue: #40CCFF;
    --picton-blue-100: #ecfaff;
    --gray: #8094a6;
    --fresh-teal: #26FFDB;
    --fresh-teal-50: #92ffed;
    --red: #852b25;
    --red-10: #ffddda;
    --red-20: #ffcfcc;
    --overlay: transparent;
    --submit-btn-bg: var(--fresh-teal);
    --submit-btn-color: var(--blue);
    --alert-max-width: 37rem;
}

html {
    font-size: 10px;
    font-family: Manrope, Arial, sans-serif;
    line-height: 1.25;
}

html, body {
    color: var(--white);
    background-color: var(--blue);
    background-image: url('img/Arrow.svg'), url('img/Arrow.svg');
    background-repeat: no-repeat;
    background-position: -16px 29%, -40px 85.5%;
    background-size: 165px auto, 385px auto;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.visually-hidden {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;
}

.al-login-page {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.al-col-left {
    display: flex;
    min-width: 550px;
    width: 39.6%;
}

.al-col-left-content {
    display: grid;
    grid-template-rows: 43px 1fr;
    margin-left: auto;
    margin-right: 50px;
    width: 400px;
    padding-top: 25px;
}

.al-col-right {
    flex-grow: 1;
}

.al-link {
    font-size: 1.5rem;
    color: var(--white);
    text-decoration: underline;
}

.al-login-logo {
    width: 210px;
}

.al-login-logo img {
    display: block;
    width: 100%;
}

.al-login-bg {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url("./img/RostrataBackgroundDesktop.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 60% 0;
    overflow: hidden;
}

.al-login-bg-shape {
    position: absolute;
    left: -3%;
    top: -5%;
    height: 107%;
    z-index: 1;
}

.al-heading {
    margin-top: 0;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--white);
    word-spacing: 1px;
}

.al-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-self: center;
    margin-top: -13vh;
}

.al-form__label {
    align-self: flex-start;
    margin-bottom: 0.5rem;
    font-size: 2.4rem;
    text-align: left;
    color: var(--white);
}

.al-form__input {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.8rem;
    line-height: 0.1;
    color: var(--blue);
    border: 1px solid transparent;
    border-radius: 2px;
    background-color: var(--white);
    box-shadow: inset 1px 1px 2px var(--shadow);
    background-clip: padding-box;
}


.al-form__label {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    color: var(--white);
}

.al-form__text {
    margin-top: 0;
    font-size: 1.8rem;
    color: var(--white);
}

.al-form__text + .al-form__text {
    margin-top: 1rem;
}

.al-form__input:not(:last-of-type) {
    margin-bottom: 2rem;
}

.al-form__input::placeholder {
    color: var(--gray);
}

.al-form__input:focus {
    outline: none;
    border-color: #a9b6e6;
    box-shadow: inset 1px 1px 2px rgba(164, 171, 202, 0.25), 0 0 0 0.2rem rgba(70, 97, 202, 0.25);
}

.al-form__submit {
    display: block;
    margin-top: 2.5rem;
    padding: 10px;
    max-width: 195px;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    color: var(--submit-btn-color);
    background-color: var(--submit-btn-bg);
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.al-form__submit:hover,
.al-form__submit:focus,
.al-form__submit:active {
    background-color: var(--fresh-teal-50);
    outline: none;
}

.al-form__forgot-pass {
    margin-top: -1.1rem;
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    color: var(--fresh-teal);
}

.al-form__input.invalid {
    border: 1px solid var(--red-20);
}

.al-validation-errors {
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
    background: var(--red-10);
    border: 1px solid var(--red-20);
}

.al-validation-errors .validation-summary-errors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.al-validation-errors .validation-summary-errors li {
    font-size: 1.8rem;
    color: var(--red);
}

.al-validation-errors .validation-summary-errors li:not(:last-of-type) {
    margin-bottom: 0.7rem;
}

.al-form__pre-form-label {
    margin-bottom: 4.5rem;
}

.al-login-form .al-heading, .al-verification-form .al-heading {
    font-size: 6rem;
    margin-bottom: 3.5rem;
}

.al-login-form .al-validation-errors {
    margin-top: -0.5rem;
    margin-bottom: 2.5rem;
}

.al-login-form .al-form__submit {
    margin-top: 0;
}

.al-forgot-pass-form .al-form__submit {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.al-email-sent-form .al-form__submit {
    margin: 2.5rem 0;
}

.al-login-page__version {
    position: absolute;
    bottom: 0.5%;
    right: 1.5%;
    font-size: 1.6rem;
}

.error-page__heading {
    margin: 6rem 0 0 0;
    font-weight: bold;
    font-size: 1.7em;
    text-align: center;
}

.error-page__description {
    margin-top: 0;
    font-size: 1.7em;
    text-align: center;
}

.error-page__action {
    font-size: 1.7em;
    text-align: center;
}

.al-logged-out .al-link {
    font-size: 1.8rem;
}

.al-logged-out iframe {
    border: none;
}

.al-form__action-link {
    margin-top: 1rem;
    margin-bottom: 2.4rem;
    font-size: 1.5rem;
    color: var(--fresh-teal);
    cursor: pointer;
    text-decoration: underline;
}

.al_form__secondary-button {
    margin-top: 0.8rem;
    margin-bottom: 1.6rem;
    padding-right: 3.2rem;
    padding-left: 3.2rem;
    font-size: 1.5rem;
    max-width: 32rem;
}

.al-verification-form__text {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: var(--white);
}

.al-verification-form__text--last {
    margin-bottom: 2.4rem;
}

.al-verification-form__actions-container {
    display: flex;
    justify-content: space-between;
}

.al-verification-form__checkbox {
    height: fit-content;
    display: flex;
    align-items: center;
    margin-top: 1.2rem;

    input {
        width: 2rem;
        height: 2rem;
        margin-right: 0.4rem;
    }

    label {
        margin-bottom: 0;
    }
}

.al-verification-form__checkbox, .al-verification-form__actions {
    flex-grow: 1;
}

.al-verification-form__actions .al-form__submit {
    width: 100%;
    margin: 0 0 0.8rem auto;
}

.al-verification-form__actions .al-link {
    margin-left: 45%;
}

.hidden {
    display: none;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--overlay);
    opacity: 0.5;
}

.password-input-container {
    position: relative;
    margin-bottom: 2rem;
}

.password-input-container .al-form__input {
    padding-right: 4.8rem;
}

.toggle-password-icon {
    position: absolute;
    right: 1.6rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.eye-icon {
    background-image: url('img/eye-line.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 2.4rem;
    height: 2.4rem;
}

.eye-icon-crossed {
    background-image: url('img/eye-off-line.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 2.4rem;
    height: 2.4rem;
}

@media screen and (max-width: 950px) {
    .al-login-page {
        justify-content: center;
    }

    .al-col-left {
        justify-content: center;
    }

    .al-col-left-content {
        width: 350px;
        margin: 0;
    }

    .al-login-form .al-heading {
        font-size: 5rem;
    }

    .al-col-right {
        display: none;
    }
}

@media screen and (max-width: 380px) {
    html, body {
        background-position: -16px 29%, -40px 85.5%;
        background-size: 36% auto, 70% auto;
    }
}

@media screen and (max-height: 800px) {
    html, body {
        background-position: -16px 23%, -40px 86.5%;
        background-size: 136px auto, 290px auto;
    }
}


