input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    transition: background-color 5000s ease-in-out 0s;
}

.error-styling {
    background: linear-gradient(
        to right,
        rgb(255, 95, 109),
        rgb(255, 195, 113)
    );
}

main {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overscroll-behavior-x: none;
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */
}

.login-background,
.login-form-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.right-container {
    position: relative;
}

.right-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 550px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.csmvs-logo {
    width: 80px;
    height: 86px;
}

.login-heading {
    font-family: "Noto Serif";
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-fields input {
    border: none;
    background-color: transparent;
    padding: 0.5rem;
    border-bottom: 1px solid #FFA107;
    width: 100%;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    padding-right: 45px;
}

.form-fields input::placeholder {
    font-size: 16px;
    font-weight: 300;
    line-height: 30px;
}

.form-fields input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px transparent inset;
}

.form-fields input:focus-visible {
    outline-width: 0;
    box-shadow: none;
}

.form-fields input:focus {
    border-color: blue;
}

.login-form {
    width: 100%;
    margin-top: 75px;
    font-family: "Satoshi-Regular";
}

.login-button {
    width: 300px;
    height: 60px;
    padding: 15px 30px;
    border-radius: 3px;
    background: #BC4524;
    border: none;
    color: white;
    margin: 80px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:10px;
}

.password-container {
    position: relative;
}

#togglePassword {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    border: none;
    background: none;
    cursor: pointer;
}

.loading {
    pointer-events: none;
    opacity: 0.7;
}

.loading .login-button::after {
    content: '';
        display: inline-block;
        width: 16px;
        height: 16px;
        border: 2px solid #ccc;
        border-top: 2px solid white;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-left: 8px;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
}

