.page-account {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-account .account-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.page-account .account-container .title {
    text-align: center;
    font-size: 2em;
    font-weight: 700;
}

.page-account .account-container form .title, .page-account .account-container form .text {
    color: var(--white);
    text-align: center;
}

.page-account .account-container form .text {
    font-size: 1.3em;
}

.page-account .account-container form {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-color-var);
    padding: 5vh;
    width: 50vh;
    border-radius: 10px;
}

.page-account .account-container form div {
    display: flex;
    flex-direction: column;
    margin: 1vh 0;
}

.page-account .account-container form .line {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.page-account .account-container form .line div {
    width: 45%;
}

.page-account .account-container form div label {
    margin: .5vh 0;
    color: var(--white);
    font-weight: 500;
    font-size: 1.3em;
}

.page-account .account-container form div input {
    outline: none;
    border: solid 2px transparent;
    border-radius: 5px;
    padding: 1vh;
    color: var(--grey);
    font-size: 1.3em;
    margin: .5vh 0;
}

.page-account .account-container form div input:focus {
    border-color: var(--blue);
}

.page-account .account-container form .submit-button {
    cursor: pointer;
    background-color: var(--main-color);
    border: solid 2px var(--main-color);
    color: var(--white);
    font-size: 1.3em;
    font-weight: 500;
    border-radius: 5px;
    padding: 1vh;
    margin: 1vh 0;
}

.page-account .account-container form .submit-button:hover {
    background-color: transparent;
    color: var(--main-color);
}

.page-account .account-container form .others-actions {
    text-align: center;
    color: var(--white);
    text-decoration: none;
    margin: 1vh 0;
}

.page-account .account-container form .others-actions:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 600px) {
    .page-account .account-container form {
        width: 80%;
        padding: 2vh;
    }
}

@media only screen and (max-width: 450px) {
    .page-account .account-container form {
        width: 70%;
    }
}

.page-account-profile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-account-profile .profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.page-account-profile .profile-container .card {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 80vh;
    background-color: var(--bg-color-var);
    padding: 2vh;
    border-radius: 10px;
    margin-top: 5vh;
}

.page-account-profile .profile-container .card p {
    color: var(--white);
    font-size: 500;
    font-size: 1.3em;
}

.page-account-profile .profile-container .card .part-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-account-profile .profile-container .card .part-1 p {
    font-weight: 700;
}

.page-account-profile .profile-container .card .part-1 .username {
    font-size: 1.5em;
}

.page-account-profile .profile-container .card .part-1 .group {
    padding: 1vh;
    color: var(--white);
    margin: 2vh 0;
    border-radius: 5px;
    font-weight: 700;
}

.page-account-profile .profile-container .card .part-2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-account-profile .profile-container .card .part-2 strong {
    color: var(--white);
}

@media only screen and (max-width: 800px) {
    .page-account-profile .profile-container .card {
        flex-direction: column;
        justify-content: center;
        width: 90%;
    }

    .page-account-profile .profile-container .card .part-2 p, .page-account-profile .profile-container .card .part-2 strong {
        text-align: center;
    }

    .page-account-profile .profile-container .card .part-2 {
        align-items: center;
    }
}

@media only screen and (max-width: 400px) {
    .page-account-profile .profile-container .card {
        width: 80%;
    }
}

.page-account-profile .popup {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .7);
    z-index: 100;
}

.page-account-profile .popup .container form {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-color-var);
    padding: 5vh;
    border-radius: 10px;
}

.page-account-profile .popup .container form .title {
    font-size: 2em;
    font-weight: 700;
    color: var(--white);
    margin: 1vh 0;
}

.page-account-profile .popup .container form div {
    display: flex;
    flex-direction: column;
    margin: 1vh 0;
}

.page-account-profile .popup .container form div label {
    font-size: 1.1em;
    font-weight: 500;
    margin: .5em 0;
    color: var(--white);
    text-align: start;
}

.page-account-profile .popup .container form div input, .page-account-profile .popup .container form input {
    outline: none;
    border: solid 2px transparent;
    font-size: 1.1em;
    padding: 1vh;
    border-radius: 5px;
    font-weight: 500;
    color: var(--grey);
}

.page-account-profile .popup .container form input {
    margin: 1vh 0;
}

.page-account-profile .popup .container form div input:focus, .page-account-profile .popup .container form input:focus {
    border-color: var(--blue);
}

.page-account-profile .popup .container form button {
    cursor: pointer;
    padding: 1vh;
    border: solid 2px var(--main-color);
    background-color: var(--main-color);
    color: var(--white);
    font-size: 1.1em;
    font-weight: 500;
    border-radius: 5px;
}

.page-account-profile .popup .container form button:hover {
    background-color: transparent;
    color: var(--main-color);
}

.page-account-profile .popup .close {
    position: fixed;
    top: 1vh;
    right: 1vh;
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: var(--white);
}

.page-account-profile .popup .close:hover {
    transform: scale(.9);
}

.page-account-profile .popup .container {
    z-index: 101;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-account-profile .mfa-enable-popup .container form .qr-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-account-profile .mfa-enable-popup .container form .qr-container img:first-child {
    width: 200px;
    border-radius: 10px;
    background-color: #fff;
    padding: 1vh;
    align-self: center;
}

.page-account-profile .mfa-enable-popup .container form .qr-container img:nth-child(2) {
    position: absolute;
    border-radius: 50%;
    padding: .4vh;
    width: 48px;
    background-color: #fff;
}

.page-account-profile .mfa-enable-popup .container form .text {
    color: var(--white);
    font-size: 1.3em;
    font-weight: 500;
    margin: 1vh 0;
}

.page-account-profile .mfa-enable-popup .container form input {
    width: 20%;
    align-self: center;
}

.page-account-profile .mfa-enable-popup .container form .secret {
    color: var(--white);
    font-weight: 700;
}

.page-account-profile .mfa-enable-popup .container form .secret span {
    color: var(--main-color);
}

@media only screen and (max-width: 500px) {
    .page-account-profile .popup .container form {
        width: 60%;
    }

    .page-account-profile .mfa-enable-popup .container form input {
        width: 50%;
    }

    .page-account-profile .mfa-enable-popup .container form .title {
        font-size: 1.5em;
    }

    .page-account-profile .mfa-enable-popup .container form .text {
        font-size: 1em;
    }

    .page-account-profile .mfa-enable-popup .container form .qr-container img:first-child {
        width: 150px;
    }

    .page-account-profile .mfa-enable-popup .container form .qr-container img:nth-child(2) {
        width: 32px;
    }
}

.page-account-profile .actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 5vh;
}

.page-account-profile .actions button, .page-account-profile .actions a {
    display: flex;
    align-items: center;
    padding: 1vh;
    border: solid 2px var(--blue);
    border-radius: 5px;
    background-color: var(--blue);
    color: var(--white);
    cursor: pointer;
    font-size: 1.3em;
    width: 90%;
    justify-content: center;
    margin: 1vh 0;
    text-decoration: none;
}

.page-account-profile .actions button:hover, .page-account-profile .actions a:hover {
    background-color: transparent;
    color: var(--blue);
}

.page-account-profile .actions button svg, .page-account-profile .actions a svg {
    margin: 0 1vh;
}

.page-account-profile .actions .enable-mfa {
    background-color: var(--green);
    border-color: var(--green);
}

.page-account-profile .actions .enable-mfa:hover {
    color: var(--green);
}

.page-account-profile .actions .disable-mfa {
    background-color: var(--red);
    border-color: var(--red);
}

.page-account-profile .actions .disable-mfa:hover {
    color: var(--red);
}

.page-account-profile .actions .logout {
    background-color: var(--red);
    border-color: var(--red);
    width: 89%;
}

.page-account-profile .actions .logout:hover {
    color: var(--red);
}

.page-account-profile .actions .admin {
    background-color: var(--red);
    border-color: var(--red);
    width: 89%;
}

.page-account-profile .actions .admin:hover {
    color: var(--red);
}

.page-account-mfa {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-account-mfa .mfa-container {
    display: flex;
    flex-direction: column;
}

.page-account-resetpass {
    margin-top: 5vh;
}

.page-account-resetpass .resetpass-container form {
    width: 70vh;
}

@media only screen and (max-width: 730px) {
    .page-account-resetpass .resetpass-container form {
        width: 80%;
    }
}