﻿:root {
    --account-card-height: 350px;
    --account-card-width: 920px;
    --loading-margin: 8%;
}

[step="VerifyEmail"] section {
    --account-card-width: 680px;
}

[step="ChangePassword"] section,
[step="PasswordChanged"] section {
    --account-card-height: 425px;
}


.account-card {
    flex-direction: column;
}


.account-card-header {
    width: 100%;
    margin-top: 20px;
    height: 50px;
}

.account-card-body {
    display: flex;
    margin-top: 10px;
}

    .account-card-body > div {
        flex: 1;
    }

.body-part {
    margin: 10px;
}

    .body-part .cell {
        width: 80%;
        margin-top: 20px;
    }

    .body-part h2 {
        margin-top: 15px;
    }

[step="VerifyEmail"] .body-part .cell{
    width: 100%;
}

[step="LinkSent"] .body-part:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.linkMessage {
    margin-top: 10px;
    color: var(--placeholder-color);
}


.forgot-options {
    margin-top: 24px;
}

    .forgot-options ul {
        list-style: none;
    }

    .forgot-options .forgot-option {
        border-bottom: 1px solid var(--bg-color-light);
    }

        .forgot-options .forgot-option > button {
            display: flex;
            border: none;
            background: transparent;
            width: 100%;
            cursor: pointer;
            height: var(--input-height);
            padding: 0 15px;
            align-items: center;
        }

            .forgot-options .forgot-option > button:disabled {
                filter: brightness(0.5);
                background: var(--bg-color-light);
                cursor: not-allowed;
            }

            .forgot-options .forgot-option > button:not(:disabled):hover {
                background-color: #ffffff12;
            }

        .forgot-options .forgot-option .forgot-option-icon {
            color: var(--primary-color);
        }

            .forgot-options .forgot-option .forgot-option-icon.icon-order-down-3 {
                transform: scaleX(-1) rotate(-50deg);
                font-weight: bold;
            }

        .forgot-options .forgot-option .forgot-option-text {
            margin-left: 16px;
        }



@media (max-width: 920px) {
    section {
        --account-card-width: 90%;
    }

    [step="ChangePassword"] section,
    [step="PasswordChanged"] section {
        --account-card-height: 445px;
    }

    .account-card {
        max-width: var(--account-card-width);
    }
}

@media(max-width: 700px) {
    section {
        --account-card-height: 500px;
        --account-card-width: 70%;
    }

    [step="ChangePassword"] section,
    [step="PasswordChanged"] section {
        --account-card-height: 640px;
    }

    .body-part .cell {
        width: auto;
    }
    .account-card {
        min-height: var(--account-card-height);
    }
    .account-card .account-card-body {
        flex-direction: column;
    }
}

@media(max-width: 560px) {
    section {
        display: inherit;
        --account-card-width: 100%;
    }

    form {
        height: 100%;
    }

    .account-card {
        max-width: 100%;
        height: 100%;
        border: none;
        border-radius: 0;
    }

    .account-card-body > .body-part {
        flex: none;
    }

        .account-card-body > .body-part.right {
            margin-top: 30px;
        }

    .account-card-footer {
        position: relative;
        margin-top: 10px;
        bottom: auto;
        width: 100%;
    }

    .select-language {
        display: none;
        /*position: sticky;
        bottom: 0px;*/
    }

    .custom-select-wrapper.selected, .custom-select-wrapper:hover {
        background-color: transparent;
    }
}

/*ChangePassword Step*/

[step="ChangePassword"] .body-part:nth-child(2) .cell,
[step="PasswordChanged"] .body-part:nth-child(2) .cell {
    width: 100%;
    margin-top: 20px;
}

[step="ChangePassword"] .body-part h2,
[step="PasswordChanged"] .body-part h2 {
    margin-top: 0;
    margin-bottom: 5px;
}

[step="ChangePassword"] .account-card .changePasswdLabel,
[step="PasswordChanged"] .account-card .changePasswdLabel {
    font-size: var(--font-size-3);
    padding-left: 2px;
}


 .account-card .cancelButton{
    width: fit-content;
    padding: 10px;
    margin-right: 10px;
    background-color: transparent;
    color: var(--primary-color);
    font-weight: bold;
}
    .account-card .cancelButton:hover{
        background-color: var(--bg-color-dark);
    }

.account-card .savePasswdButton{
    width: fit-content;
    min-width: 20%;
    padding: 10px;
    background-color: var(--primary-color);
}

    .account-card .savePasswdButton:hover{
        background-color: color-mix(in srgb, var(--primary-color) 75%, black);
    }

