﻿.login_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.login_grouped {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px;
}

.login_image_left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login_carousel_banner_wrapper {
    width: 100%;
    display: none;
    flex-direction: column;
    margin-bottom: 4px;
}

.login_carousel_banner_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.login_carousel_banner_button {
    width: 36px;
    height: 36px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 50%;
}

.login_carousel_banner_button[data-hide="true"] {
    display: none;
}

.login_carousel_banner_button:focus,
.login_carousel_banner_button:active,
.login_carousel_banner_button:hover {
    background-color: var(--button-state);
}

.login_carousel_banner_button svg {
    width: 24px;
    height: 24px;
    display: block;
}

.login_carousel_banner_button:focus .global_icon_fill,
.login_carousel_banner_button:active .global_icon_fill,
.login_carousel_banner_button:hover .global_icon_fill {
    fill: var(--icon-state);
}

.login_carousel_banner_scroller::-webkit-scrollbar {
    display: none;
}

.login_carousel_banner_scroller {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    overflow: hidden;
}

.login_carousel_banner_link {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.login_carousel_banner_info {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    background-color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    z-index: 1;
}

.login_carousel_banner_info:focus,
.login_carousel_banner_info:active,
.login_carousel_banner_info:hover {
    background-color: var(--primary-blue-hover);
}

.login_carousel_banner_link img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.login_carousel_banner_indicators {
    position: absolute;
    bottom: 4px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login_carousel_banner_indicator_button {
    width: 16px;
    height: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--surface-1);
    border-radius: 50%;
}

    .login_carousel_banner_indicator_button[data-active="true"] {
        background-color: var(--primary-blue);
    }

.login_image_top {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .login_image_top img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 16px;
    }

.login_header {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login_header_title {
    margin: 0 auto;
    text-align: center;
}

.login_body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login_form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    background-color: var(--surface-1);
    border-radius: 8px;
}

.login_form_message {
    width: 100%;
    display: block;
    padding: 16px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    background-color: var(--red);
    border: 1px solid var(--red);
    border-radius: 8px;
}

.login_form_section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.login_form_control {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.login_form_grouped {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.login_form_label {
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
}

.form_input::placeholder {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    opacity: 0.5;
}

.form_input {
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    background-color: var(--surface-1);
    border: 1px solid var(--border-blue);
    border-radius: 48px;
    outline: none;
}

.form_input_message {
    width: 100%;
    display: none;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--red);
}

.toggle_password {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .toggle_password svg {
        width: 24px;
        height: 24px;
        display: block;
    }

    .login_forgot_password_link {
        width: 100%;
        padding: 8px;
        font-weight: 600;
        text-decoration: underline;
    }

.login_form_actions {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.form_button {
    width: 100%;
    height: 48px;
    max-width: calc(50% - 4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background-color: var(--button-default);
    border: 1px solid var(--border-blue);
    border-radius: 48px;
}

    .form_button:focus,
    .form_button:active,
    .form_button:hover {
        color: var(--text-state);
        background-color: var(--button-state);
    }

.login_form_link_action {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}

.login_form_register_link {
    font-weight: 600;
    text-decoration: underline;
}

.account_activation_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    z-index: 3;
}

.account_activation_modal {
    width: 100%;
    max-width: 480px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px;
}

.account_activation_actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.account_activation_actions_button {
    width: 100%;
    max-width: 250px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media only screen and (min-width: 960px) {
    .login {
        max-width: initial;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
    }

    .login_image_top {
        display: none;
    }
}
