body {
    background: linear-gradient(-45deg, #27282a, #543e7e, #afa4ce);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.login-form {
    margin: 0;
    padding: 0 0 0 0;
    width: 100%;
}

.login-container {
    width: 830px;
    height: 430px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.3rem;
}

.login {
    width: 800px;
    height: 400px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    border-radius: 0.3rem;
}

.login-page-1,
.login-page-2,
.login-page-3,
.login-page-4 {
    display: flex;
}

.login-left {
    width: 400px;
    height: 370px;
    background: #F4F7FC;
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
}

.login-right {
    width: 400px;
    height: 370px;
    background: #F4F7FC;
    padding: 15px 40px 15px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-user {
    display: flex;
    flex-wrap: wrap;
    height: 90%;
    align-items: center;
}

.login-section-img {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: fit-content;
}

.login-section-input {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
    margin-top: 120px;
}

.login-section-btn {
    width: 100%;
    height: fit-content;
    margin-top: 70px;
    display: flex;
    justify-content: end;
}

.login-text {
    text-align: center;
    color: #543e7e;
    font-weight: bolder;
    font-size: 25px;
}

.login-label {
    margin: 10px 0 0 0;
}

.login-label label {
    cursor: pointer !important;
    color: #543e7e;
    transition: 0.2s ease-in-out;
    font-size: 14px;
    display: block;
    width: fit-content;
}

.login-label label::after {
    content: '';
    display: block;
    position: relative;
    left: 0;
    bottom: -5px;
    height: 1px;
    width: 100%;
    background-color: #543e7e;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

.login-label label:hover::after {
    transform: scaleX(1);
    transform-origin: center;
}

.login p {
    margin: 0 0 0 0;
}

.login img {
    height: 190px;
}

.login-input {
    border: 1.5px solid #543e7e;
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    transition: 0.2s ease-in-out;
    background: #F4F7FC;
    border-radius: 10px;
}

.login-input .input {
    margin-left: 10px;
    border-radius: 10px;
    border: none;
    width: 100%;
    height: 48px;
    background: #F4F7FC;
    color: #543e7e;
}

.login-input .input:focus {
    outline: none;
}

.login-input:focus-within {
    border: 1.5px solid #543e7e;
}

.login-input .input::placeholder {
    color: #543e7e;
    text-transform: none;
}

.login-input i {
    font-size: 20px;
    color: #543e7e;
}

.login-back {
    margin-bottom: 15px;
    width: 100%;
    height: fit-content;
}

.login-back a {
    cursor: pointer;
    background: transparent;
    color: #543e7e;
    font-size: 20px;
    border: none;
}

.login-error {
    padding: 10px 10px;
    border-radius: 10px;
    color: #8D485A;
    font-size: 14px;
}

.login-recovery {
    padding: 10px 10px;
    border-radius: 10px;
    color: #437441;
    font-size: 14px;
}

.button-submit {
    width: 160px;
    height: 55px;
    padding: 0;
    border: none;
    border-radius: 0.3rem;
    color: #F4F7FC;
    z-index: 1;
    background: #543E7E;
    position: relative;
    transition: all 250ms;
    overflow: hidden;
    cursor: pointer;
}

.button-submit .front-content {
    background: #543E7E;
    display: flex;
    width: 160px;
    height: 55px;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    transition: 0.6s cubic-bezier(.16, 1, .3, 1);
}

.button-submit .back-content {
    background: #543E7E;
    display: flex;
    width: 160px;
    height: 55px;
    justify-content: center;
    align-items: center;
    font-size: 23px;
    transition: 0.6s cubic-bezier(.16, 1, .3, 1);
}

.button-submit:hover .front-content {
    transform: translateY(-55px);
}

.button-submit:hover .back-content {
    transform: translateY(-55px);
}

.login-app {
    height: 130px;
}

.login-app .title {
    color: #543e7e;
    font-size: 14px;
}

.radio-inputs {
    display: flex;
    position: relative;
    left: -6px;
    align-items: center;
    max-width: 350px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.radio-inputs>* {
    margin: 6px;
}

.radio-input:checked+.radio-tile {
    border-color: #543e7e;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #543e7e;
}

.radio-input:checked+.radio-tile:before {
    transform: scale(1);
    opacity: 1;
    background-color: #543e7e;
    border-color: #543e7e;
}

.radio-input:checked+.radio-tile .radio-icon svg {
    fill: #543e7e;
}

.radio-input:checked+.radio-tile .radio-label {
    color: #543e7e;
}

.radio-input:focus+.radio-tile {
    border-color: #543e7e;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 0 0 4px #afa4ce;
}

.radio-input:focus+.radio-tile:before {
    transform: scale(1);
    opacity: 1;
}

.radio-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    min-height: 80px;
    border-radius: 0.5rem;
    border: 2px solid #afa4ce;
    background-color: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0.15s ease;
    cursor: pointer;
    position: relative;
}

.radio-tile:before {
    content: "";
    position: absolute;
    display: block;
    width: 0.75rem;
    height: 0.75rem;
    border: 2px solid #afa4ce;
    background-color: #fff;
    border-radius: 50%;
    top: 0.25rem;
    left: 0.25rem;
    opacity: 0;
    transform: scale(0);
    transition: 0.25s ease;
}

.radio-tile:hover {
    border-color: #543e7e;
}

.radio-tile:hover:before {
    transform: scale(1);
    opacity: 1;
}

.radio-icon svg {
    width: 2rem;
    height: 2rem;
    /* fill: #494949; */
}

.radio-label {
    color: #afa4ce;
    transition: 0.375s ease;
    text-align: center;
    font-size: 13px;
}

.radio-input {
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

@media (max-width: 480px) {
    .login {
        width: 80vw;
        height: fit-content;
    }

    .login-container {
        width: 100vw;
        height: fit-content;
    }

    .login-left {
        width: 100%;
        height: fit-content;
    }

    .login-right {
        width: 100%;
        justify-content: unset;
        padding: 15px;
    }

    .login-section-input {
        margin-top: 0;
    }

    .login-page-1,
    .login-page-2,
    .login-page-3,
    .login-page-4 {
        flex-wrap: wrap;
    }

    .login-input {
        margin-top: 0 !important;
    }
}

.button-submit.loading {
    pointer-events: none;
    opacity: 0.7;
    position: relative;
}

.button-submit.loading .front-content,
.button-submit.loading .back-content {
    display: none;
}

.button-submit.loading::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 5;
}

.button-submit.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border: 3px solid #ffffff;
    border-top-color: #543E7E;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
    z-index: 10;
}


@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}