html,body{
    height: 100%;
    margin: 0;
}

.lt-login-or-register {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 80vh;
    height: 100vh;
    padding-top: 2rem;
    margin-top: 50px;
}

form {
    background-color: #ffffff;
    padding: 2rem;
    padding-top: 0.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-banner {
    max-width: 160px;
    width: 80%;
    height: auto;
    margin-bottom: 0px;
    display: block;
}

form p {
    width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

form p label {
    text-align: left;
    width: 100%;
    margin-bottom: 4px;
}

form input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

form input:focus {
    outline: none;
    border-color: #00b2e3;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

form button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #00b2e3;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    margin-top: 3rem;
}

#form-welcome {
    width: 100%;
    color: #122e48;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    display: block;
    text-align: center;
    margin: 1rem auto;
    width: 100%;
}

form button[type="submit"]:hover {
    background-color: #0095bf;
}

.register-box {
    margin-top: 1.5rem;
    text-align: center;
}

.register-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.lt-login-or-register button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 45px;
    background-color: #122e48;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    transition: background-color 0.3s ease;
    overflow: hidden;
}

.lt-login-or-register button .button-icon {
    display: flex;
    align-items: center;
    position: absolute;
    z-index: 2;
    left: -40px;
    transition: .5s ease-in-out all;
    opacity: 0;
}

.lt-login-or-register button:hover .button-icon {
    left: calc(100% - 45px);
    opacity: 1;
}

.lt-login-or-register button:hover #login-button-icon {
    left: calc(100% - 200px);
}

.lt-login-or-register button span {
    transition: .3s ease-in-out all;
}

.lt-login-or-register button:hover span {
    transform: translateX(-20px);
}

.lt-login-or-register button:hover #login-span {
    transform: translateX(20px);
}

.register-box button:hover {
    background-color: #1a4369;
}

/* Media Queries */
@media (max-width: 768px) {
    .lt-login-or-register {
        padding-top: 1rem;
        margin-top: 30px;
    }

    form {
        max-width: 90%;
        padding: 1.5rem;
    }

    .login-banner {
        max-width: 140px;
    }

    #form-welcome {
        font-size: 1.3rem;
    }

    form input {
        padding: 8px;
        font-size: 13px;
    }

    form button[type="submit"] {
        padding: 10px;
        margin-top: 2rem;
    }

    .register-box {
        margin-top: 1rem;
    }

    .lt-login-or-register button {
        padding: 8px 35px;
        font-size: 13px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    form {
        max-width: 400px;
    }
}