﻿.forgot_password_wrapper {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.forgot_password_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.forgot_password_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;
}

.forgot_password_grouped {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 32px 8px;
}

.forgot_password_header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.forgot_password_header_description {
    text-align: center;
}

.forgot_password_body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.forgot_password_success {
    width: 100%;
    min-height: 135px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background-color: var(--surface-1);
    border-radius: 16px;
}

.forgot_password_success_text {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--text);
}

.forgot_password_success_link {
    width: 144px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--text);
    background-color: var(--primary-green);
    border: 1px solid var(--primary-green);
    border-radius: 48px;
}

    .forgot_password_success_link:focus,
    .forgot_password_success_link:active,
    .forgot_password_success_link:hover {
        background-color: var(--primary-green-hover);
    }

    .forgot_password_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;
    }

.forgot_password_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;
}

.forgot_password_form_section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px 0;
}

.forgot_password_form_control {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.forgot_password_form_grouped {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.forgot_password_form_label {
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
}

.form_input::placeholder {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    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;
}

.form_input_message {
    width: 100%;
    display: none;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--red);
}

.forgot_password_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;
    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);
    }

.change_password {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 8px;
}

.change_password_form {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 auto;
    padding: 8px;
    background-color: var(--surface-1);
    border-radius: 8px;
}

.form_control {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form_control_group_label {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.form_control_input {
    width: 100%;
    height: 36px;
    display: block;
    padding: 0 8px;
    background-color: var(--surface-1);
    border: 1px solid var(--border-blue);
    border-radius: 48px;
    outline: none;
}

.form_control_message {
    display: none;
    font-weight: 600;
    color: var(--red);
}

.password_requirements_containers {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 8px;
    background-color: var(--surface-2);
    border-radius: 8px;
}

.password_requirements {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.password_requirement {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
}

.password_requirement_icon {
    width: 16px;
    height: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--surface-3);
    border-radius: 50%;
}

.password_requirement.req_valid .password_requirement_icon {
    background-color: var(--green);
}

.form_control_actions {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.form_control_action_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(--primary-green);
    border: 1px solid var(--primary-green);
    border-radius: 48px;
}

    .form_control_action_button:focus, .form_control_action_button:active, .form_control_action_button:hover {
        background-color: var(--primary-green-hover);
    }

@media only screen and (min-width: 680px) {
    .login_grouped {
        padding: 32px;
    }
}
