﻿:root {
    --account-card-height: 600px;
    --account-card-width: 440px;
    --loading-margin: 50px;
    --integration-text-color: gray;
}

.account-card form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.account-card-header {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
}

    .account-card-header .icon-header {
        border-radius: 100%;
        height: 80px;
        width: 80px;
        display: flex;
        background: radial-gradient(circle, rgba(255, 0, 0, 0) 0%, var(--bg-color-light) 80%);
        justify-content: center;
        align-items: center;
    }


.account-card-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .account-card-body > * {
        width: 80%;
    }

    .account-card-body .cell {
        margin: 10px;
    }

    .account-card-body .remember-forgot {
        margin: 15px 0;
        font-size: var(--font-size-3);
        display: flex;
        justify-content: space-between;
    }

        .account-card-body .remember-forgot label {
            display: flex;
            align-items: center;
        }

        .account-card-body .remember-forgot input {
            margin-right: 4px;
        }

        .account-card-body .remember-forgot label, .account-card-body .remember-forgot input {
            user-select: none;
            cursor: pointer;
        }

        .account-card-body .remember-forgot a {
            text-decoration: none;
        }

            .account-card-body .remember-forgot a:hover {
                text-decoration: underline;
            }

    .account-card-body .form-options {
        margin: 10px;
    }

        .account-card-body .form-options button.sso-auth {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background-color: white;
        }

            .account-card-body .form-options button.sso-auth:hover {
                background-color: color-mix(in srgb, white 75%, black);
            }

                .account-card-body .form-options button.sso-auth:hover div.sso-integration-text * {
                    color: white;
                }

            .account-card-body .form-options button.sso-auth span.sso-svg-icon {
                width: 1.5rem;
                height: 1.5rem;
                position: absolute;
                left: 86px;
            }

            .account-card-body .form-options button.sso-auth div.sso-integration-text {
                display: inline-flex;
                align-items: center;
            }
                .account-card-body .form-options button.sso-auth div.sso-integration-text * {
                    color: var(--integration-text-color);
                }

                .account-card-body .form-options button.sso-auth div.sso-integration-text span.sso-text {
                    width: fit-content;
                    margin-right: 5px;
                }


    .account-card-body .register-link {
        font-size: var(--font-size-3);
        text-align: center;
        margin-bottom: 10px;
    }

        .account-card-body .register-link p a {
            text-decoration: none;
            margin-left: 6px;
            font-weight: 600;
        }

            .account-card-body .register-link p a:hover {
                text-decoration: underline;
            }

@media(max-width: 560px) {
    section {
        display: inherit;
        --account-card-width: 100%;
    }

    .account-card {
        max-width: 100%;
        height: 100%;
        border: none;
        border-radius: 0;
    }

    .select-language {
        display: none;
        /*position: sticky;
        bottom: 0px;*/
    }

    .custom-select-wrapper.selected, .custom-select-wrapper:hover {
        background-color: transparent;
    }
}

/* BROWSER NOT SUPPORTED */

.browser-unsupported-box {
    background: var(--card-color);
    box-shadow: 0 8px 32px 0 rgb(0 0 0 / 37%);
    backdrop-filter: blur(3px);
    border: 1px solid var(--border-card-color);
    border-radius: 25px;
    padding: 40px 50px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    color: #dddddd;
}

.browser-unsupported-icon {
    font-size: 4em;
    color: #2DB7B0;
    margin-bottom: 16px;
    line-height: 1;
}

.browser-unsupported-box h2 {
    font-size: 1.6em;
    margin: 0 0 16px;
    color: #ffffff;
    font-weight: 600;
}

.browser-unsupported-box p {
    font-size: 1em;
    color: #aaaaaa;
    margin-bottom: 20px;
    line-height: 1.5;
}

.browser-unsupported-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

    .browser-unsupported-list li {
        background-color: #3a3a3a;
        border: 1px solid #2DB7B0;
        border-radius: 6px;
        padding: 6px 16px;
        font-size: 0.95em;
        color: #2DB7B0;
    }
