@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Outfit:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    position: relative;
}

.container {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-image: url("./images/artboard.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form {
    width: 550px;
    height: fit-content;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 20px;
    background-color: rgba(0, 0, 0, 0.466);
    padding: 30px 40px;
    border-radius: 30px;
}

.form__logo {
    width: 80%;
    height: 90px;
    margin-bottom: 20px;
    object-fit: contain;
}

.form__group {
    display: block;
    width: 100%;
    color: #63666a;
}

.form__title {
    font-size: 2.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.form__input {
    color: #63666a;
    width: 100%;
    display: inline-block;
    background: white;
    border-radius: 6px;
    margin-bottom: 15px;
    padding: 6px 0;
    border: 2px solid #a4a5a8;
    padding-left: 28px;
    font-size: 1.08rem;
    font-weight: 500;
}

.form__group__img {
    width: 20px;
    height: 20px;
    position: absolute;
    margin: 8px 5px;
    text-align: center;
}

.form__button {
    width: 100%;
    background: #ED1B30;
    border-radius: 6px;
    padding: 9px 0;
    border: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
}

.form__group--checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
    color: white;
    margin: 16px 0;
    font-weight: 100;
    font-size: 1rem;
    font-family: Arial, Helvetica, sans-serif;
}

.footer {
    display: inline-block;
    width: 100%;
    position: fixed;
    background: red;
    text-align: center;
    bottom: 0;
    background-color: #ed1c24;
    color: white;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    font-weight: bold;
}

#ptloginerrorcont,
#login_error,
#discovery_error {
    display: none;
}

.ps_login_error {
    text-align: center;
    margin-bottom: 14px;
}

.ps_login_error_inner {
    display: block;
    margin: 0;
}

.ps_login_error_inner {
    color: #ed1c24;
}

.ps_login_error {
    text-align: center;
    margin-bottom: 14px;
}

#error_link {
    cursor: pointer;
    outline: thin dotted #ffff;
    outline: thin dotted #ffff;
    outline: thin dotted var(--pt-error-text-color, #ffff);
    filter: brightness(0) invert(1);
}

.psloginerror {
    font-family: Arial;
    font-size: 9pt;
    color: #ed1c24;
    margin: 0;
    font-family: inherit;
    font-size: inherit;
}

.psloginerror span {
    color: #ed1c24;
}

#login_error {
    font-size: 1em;
    font-weight: bold;
    color: #ed1c24;
    display: inline-block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loadingAnimation .spinner {
    width: 40px;
    height: 40px;
    border: 5px solid #f0f0f0;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

#loadingText {
    margin-top: 0.5em;
    color: #007bff;
    font-weight: bold;
    font-size: 1.2em;
}

.form__group__select {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
}

.form__select {
    max-width: 130px;
    padding: 2px 0 2px 22px;
    border: 1px solid transparent;
    background-color: transparent;
    font-size: 1rem;
}

.form__group__img__select {
    width: 15px;
    height: 15px;
    position: absolute;
    margin: 0 5px;
    text-align: center;
    margin-top: 3px;
}

.form__group__actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form__group__select__container {
    margin-top: 17px;
}

.container__text {
    position: absolute;
    bottom: 20px;
    right: 0;
    margin-right: 35px;
}

.container__text__item {
    color: white;
    font-family: 'Roboto', cursive;
    font-size: 1.2rem;
    text-align: right;
}


.container__writer__text {
    font-family: 'Roboto', cursive;
    color: white;
    text-align: right;
    font-size: 1.2rem;
    margin-top: 15px;
    font-weight: bold;
}

.forgot_password { 
    text-decoration: none;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 100;
}

.forgot_password:hover {
    cursor: pointer;
    color: #007bff;
}

@media screen and (max-width: 768px) and (min-width: 481px) {
    .form__title{
        font-size: 1.8rem;
    }

    .container__text{
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .container__text__item{
        font-size: 1.1rem;
        text-align: center;
    }

    .container__writer__text{
        font-size: 1.1rem;
        text-align: center;
    }
}


@media screen and (max-width: 485px) {
    .container {
        height: calc(var(--vh, 1vh) * 100);
    }

    .form__logo{
        margin-bottom: 0;
    }

    .form__title {
        font-size: 1.1rem;
    }

    .form__input {
        font-size: 0.9rem;
        padding: 6px 0 6px 26px;
    }

    .form__group__img {
        margin-top: 7px;
    }

    .form__button {
        font-size: 0.9rem;
        padding: 10px;
    }

    .form__group--checkbox {
        justify-content: center;
        font-size: 0.8rem;
    }

    .form {
        width: 90vw;
        background: none;
        padding: 0%;
        width: 100%;
    }

    .form__group__actions {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .form__group__select {
        display: block;
        justify-items: center;
    }

    .form__group__img__select {
        margin-top: 11px;
        margin-left: 13px;
    }

    .form__group__select__container {
        margin-top: 0;
    }

    .container__text{
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .container__text__item{
        font-size: 0.9rem;
        text-align: center;
    }

    .container__writer__text{
        font-size: 0.9rem;
        text-align: center;
    }
}

