body {
    width: 100vw;
    height: 100vh;
    background-color: rgb(221, 221, 221);
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-wrapper {
    background-color: rgb(49, 49, 49);
    height: 100vh;
    width: 50%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}



.form-login {
    display: flex;
    flex-direction: column;
    height: 80%;
    width: 90%;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 15px;
    border-radius: 15px;
    gap: 20px;
}

.input-custom {
    width: 80% !important;
    padding: 15px;
    border-radius: 15px;
    outline: none;
    /* We'll remove the background-color here */
    border: 1px solid #ccc;
    /* Add a border for better visibility */
}

@keyframes fill {
    from {
        background-position: left;
    }

    to {
        background-color: #7948fd;
        background-position: right;
    }

    /* Combine color and position */
}

.input-custom:focus {
    animation: fill 1s ease forwards;
    color: white;
    /* Adjust duration as needed */
}

.input-custom:focus::placeholder {
    color: white;
    /* Adjust duration as needed */
}

.btn-custom {
    background-color: #7948fd;
    color: white;
    text-transform: uppercase;
    width: 20%;
    transition: background-color 0.3s;
}

.btn-custom:hover {
    background-color: #603aca;
    color: white;
    animation: width-increase 1.5s forwards;
}

@keyframes width-increase {
    from {
        width: 20%;
    }

    to {
        width: 80%;
    }
}

@keyframes width-decrease {
    from {
        width: 80%;
    }

    to {
        width: 20%;
    }
}

.width-final {
    width: 80%;
}

.width-reset {
    animation: width-decrease 1.5s forwards;
}