@font-face {
    font-family: 'SF Pro Display', 'Arial', sans-serif;
    src: url('/static/fonts/SFPRODISPLAYREGULAR.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display', 'Arial', sans-serif;
    src: url('/static/fonts/SFPRODISPLAYMEDIUM.woff2') format('woff2');
    font-weight: 600; /* Use numeric values for weights */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display', 'Arial', sans-serif;
    src: url('/static/fonts/SFPRODISPLAYBOLD.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

body {
    min-height: 100vh;
    font-family: 'SF Pro Display', 'Arial', sans-serif;
    background-color: #fff;
}

button {
    cursor: pointer;
}

.container {
    display: flex;
    min-height: 100vh;
}

.left-section {
    flex: 1;
    background: linear-gradient(178deg, #5956FC 0.09%, #8D8BEA 99.57%);
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.logo {
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
}

.logo a {
    display: flex;
    height: 23.874px;
    flex-direction: column;
    justify-content: center;
    color: var(--white, #FFF);
    text-align: center;
    font-size: 16.413px;
    font-style: normal;
    font-weight: 700;
    line-height: 59.685px;
    /* 363.636% */
    letter-spacing: -0.373px;
}

.logo_icon {
    width: 19.711px;
    height: 23.254px;
}

.preview-image {
    position: relative;
    max-width: 400px;
    margin: auto;
}

.preview-image img {
    width: 572px;
    height: 572px;
    flex-shrink: 0;
    position: absolute;
    top: -50%;
    left: -50%;
    translate: -50% -50%;
}

.right-section {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-container {
    display: flex;
    width: 440.854px;
    flex-direction: column;
    align-items: flex-start;
    gap: 23.419px;
}

.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 21.662px;
    align-self: stretch;
}

.login-header div {
    display: flex;
    width: 319px;
    flex-direction: column;
    align-items: center;
    gap: 7.855px;
}

.google-button {
    display: flex;
    width: 179.737px;
    padding: 8.782px 29.273px;
    justify-content: center;
    align-items: center;
    gap: 9.367px;
    border-radius: 7.026px;
    border: 0.585px solid #423BCA;
    background: #FFF;

    color: var(--Color-3, #3D3A79);
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 23.419px;
    align-self: stretch;
}

.login-header h1 {
    color: var(--Color-3, #3D3A79);
    text-align: center;
    font-size: 1.7rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.welcome-text {
    color: var(--Color, #5956FC);
    text-align: center;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}



.divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    align-self: stretch;
}

.divider span {
    color: var(--Color, #5956FC);
    text-align: center;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}


.login-form form {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 17.564px;
    align-self: stretch;
}

.login-form p {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17.564px;
    align-self: stretch;
}


.form-group {
    width: 100%;
    margin-bottom: 1rem;

    display: flex;
    height: 59.717px;
    padding: 24.589px 23.419px;
    align-items: center;
    gap: 5.855px;
    align-self: stretch;

    border-radius: 14.637px;
    border: 1.171px solid #5956FC;
    background: var(--white, #FFF);
    box-shadow: 0px 2.342px 8.782px 0px rgba(95, 49, 223, 0.06);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    outline: none;
    transition: border-color 0.2s;
    border: 0;
    color: rgba(89, 86, 252, 0.80);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.form-input::placeholder {
    color: rgba(89, 86, 252, 0.80);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


.form-input:focus {
    border-color: #6366f1;
}

.forgot-password {
    display: block;
    text-align: right;
    text-decoration: none;
    margin-bottom: 1.7rem;
    font-size: 0.875rem;

    color: var(--Color, #5956FC);
    text-align: right;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.login-button {
    width: 100%;
    padding: 0.75rem;
    color: white;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    margin-bottom: 1.7rem;

    background: var(--Button, linear-gradient(87deg, #5956FC -10.3%, #8D8BEA 99.22%));


    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.create-account {
    text-align: center;
    margin: auto;
    color: rgba(89, 86, 252, 0.80);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;

    display: flex;

}

.create-account a {
    color: #5956FC;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-decoration: none;
}

@media (max-width: 768px) {
    .left-section {
        display: none;
    }
    .container{
        display: inline;
    }
    .login-container{
        max-width: 100%;
    }
}

.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1050; /* Ensure it's above other elements */
}

.toast {
    position: relative;
    background-color: #f8f9fa;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    width: 300px;
    max-width: 90%;
}

.alert-success {
    background-color: white;
    border-left: 5px solid #3D3A79;
    color: #423BCA;
}

.alert-error {
    background-color: #f8d7da;
    border-left: 5px solid #dc3545;
    color: #721c24;
}

.close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 16px;
    color: #000;
    cursor: pointer;
}


#show_password1, #show_password2{
    cursor: pointer;
}