﻿@font-face {
    font-family: "SF Pro Text";
    src: url("./fonts/SF-Pro-Text-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("./fonts/SF-Pro-Text-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("./fonts/SF-Pro-Text-Semibold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("./fonts/SF-Pro-Text-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

* {
    padding: 0px;
    margin: 0px;
}

.login_related_section_content_imgage .logo_image {
    display: none;
}

.total_body {
    background-color: #fff;
}

.login_related_section {
    height: calc(100vh - 48px);
}

.login_related_section_content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: inherit;
}

    .login_related_section_content > div {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #f8fafc;
        padding: 36px;
        border-radius: 36px;
        column-gap: 48px;
        box-shadow: 0px -2px 8px -4px #10182814;
    }

.login_related_section_content_form {
    width: 406px;
}

.login_related_section_content_imgage img {
    width: 622px;
    border-radius: 20px;
}

.login_related_section_content_title_content {
    margin-block-end: 32px;
}

.login_related_section_content_form .logo_image {
    margin-block-end: 0px;
}

.login_related_section_content_form .logo_image img {
    display: block;
    margin: 0px auto;
    max-width: 100px;
    padding: 25px 0px;
    margin-bottom: 10px;
}


h2.login_related_section_content_title {
    font-family: SF Pro Text;
    color: #101828;
    font-size: 30px;
    font-weight: 700;
    line-height: 38px;
    text-align: left;
    margin-block-end: 12px;
}

.login_related_section_content_content {
    font-family: "SF Pro Text";
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #667085;
}

.login_related_section_content_form_content_email {
    margin-block-end: 20px;
}

label {
    font-family: SF Pro Text;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    margin-block-end: 6px;
    display: block;
}

.login_related_section_content_form_input {
    border-radius: 8px;
    border: 1px solid #eaecf0;
    padding: 12px 14px;
}

    .login_related_section_content_form_input input {
        width: 100%;
        font-family: SF Pro Text;
        color: #101828;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        text-align: left;
        padding-inline: 1px;
        outline: none;
        border: 0px solid transparent;
        background-color: transparent;
    }

.input_flex_center {
    display: flex;
    align-items: center;
    column-gap: 8px;
    width: calc(100% - 30px);
    justify-content: space-between;
}

.login_related_section_content_form_content_password {
    margin-block-end: 24px;
}

.rememberMe_input_section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-block-start: 12px;
}

.forget_password {
    font-family: SF Pro Text;
    color: #513bef;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
}

.rememberMe_input label {
    display: block;
    font-family: SF Pro Text;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    margin-block-end: 0px;
}

.rememberMe_input {
    display: flex;
    align-items: center;
    column-gap: 8px;
}

.form_submit_button {
    margin-block-start: 36px;
    display: flex;
    column-gap: 20px;
}

    .form_submit_button button {
        font-family: SF Pro Text;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
        text-align: center;
        background-color: #3866ff;
        border: none;
        border-color: transparent;
        border-radius: 8px;
        width: 100%;
        padding-block: 10px;
        box-shadow: 0px 1px 2px 0px #1018280d;
        cursor: pointer;
        transition: .3s
    }

        .form_submit_button button:hover {
            background-color: #3867ffe6;
        }

    .form_submit_button .form_cancle_button {
        color: #7461F4;
        background-color: #F8F6FF;

    }
        .form_submit_button .form_cancle_button:hover {
            color: #7461f4e6;
            background-color: #F8F6FF;
        }

 
   
    

footer {
    font-family: SF Pro Text;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    background-color: #f9fafb;
    padding-block: 14px;
}



.form_submit_row {
    display: flex;
    justify-content: space-between;
    gap: 10%;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.error-msg {
    color: orangered;
    margin-bottom: 10px;
    font-family: SF Pro Text;
    font-size: 14px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #f8fafc inset !important;
}

input:-webkit-autofill {
    -webkit-text-fill-color: black !important;
}

@media all and (min-width: 1025px) and (max-width: 1370px) {
    .login_related_section_content > div {
        padding: 40px;
    }
}

@media all and (max-width: 1024px) {
    .login_related_section_content_imgage {
        margin-block-end: 24px;
    }

    .login_related_section_content_imgage .logo_image {
        display: flex;
        justify-content: center;
    }

    .login_related_section_content_imgage .logo_image img {
        width: 120px;
        margin-block-end: 12px;
        border-radius: 0px;
    }

    .login_related_section_content_form .logo_image {
        display: none;
    }

    .login_related_section_content > div {
        flex-direction: column;
    }

    .login_related_section_content_imgage img {
        width: 100%;
    }

    .login_related_section_content > div {
        padding-block: 20px;
        padding-inline: 16px;
        margin-inline: 20px;
        border-radius: 12px;
        margin-block: 30px;
    }

    .login_related_section {
        height: auto;
    }

    h2.login_related_section_content_title {
        font-size: 20px;
        font-weight: 700;
        line-height: 30px;
    }

    .login_related_section_content_form {
        width: 100%;
    }
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 4px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}

.toast-success {
    background-color: #4CAF50;
}

.toast-error {
    background-color: #F44336;
}

.toast-info {
    background-color: #2196F3;
}

/* Animation to fade in the toast */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.toast {
    animation: fadeIn 0.3s ease-in-out forwards;
}