* {
    font-family: 'Poppins', sans-serif;
}

#messageBox {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px;
    background-color: #f44336;
    color: white;
    border-radius: 5px;
    z-index: 1000;
}

.login {
    width: 100%;
    height: 100vh;
}

.login-left {
    height: 100vh;
    width: 100vw;
}

.carousel-item {
    transition: transform 0.7s ease-in-out, opacity 0.3s ease-in-out;
}

.carousel-item img {
    height: 100vh;
    border-radius: 0px 25px 25px 0px;
    object-fit: cover;
}

.login-right {
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header h1 {
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    color: #101010;
}

.header p {
    font-weight: 500;
    font-size: 18px;
    line-height: 21px;
    color: #101010;
    margin-bottom: 50px;
}

.login-form label {
    font-style: normal;
    font-weight: 650;
    font-size: 18px;
    line-height: 21px;
    color: #101010;
    margin-top: 15px;
}

.login-form input {
    height: 52px;
    box-sizing: border-box;
    background: #F2F2F2;
    border: 1px solid rgba(200, 200, 200, 0.65);
    border-radius: 10px;
    margin-bottom: 25px;
    padding: 0 15px;
}

.login-form button {
    width: 100%;
    height: 52px;
    background: #5FA8FF;
    border-radius: 10px;
    border: none;
    color: #FFF;
    margin-top: 20px;
    margin-bottom: 20px;
    cursor: pointer;
}

.login-form button:hover {
    background-color: #4a94e6;
    transition: background-color 0.3s ease;
}

.Copyright p {
    margin-top: 20px;
    text-align: center;
    font-style: normal;
    font-weight: 300;
    font-size: 12px;
    margin-bottom: 0px;
}

@media (max-width: 768px) {
    .login {
        flex-direction: column;
        height: 100vh;
        overflow: hidden;
    }

    .login-left {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 25%;
        order: 2;
    }

    .login-right {
        width: 100%;
        height: 75%;
        display: flex;
        align-items: center;
        justify-content: center;
        order: 1;
        padding-inline: 30px;
        position: relative;
        z-index: 10;
    }

    .login-right .d-flex {
        width: 100%;
        max-width: 350px;
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Align items to left */
    }

    .header {
        text-align: left; /* Keep header text left-aligned */
        width: 100%;
    }

    .header h1 {
        font-style: normal;
        font-weight: 600;
        font-size: 24px;
        line-height: 35px;
        color: #101010;
    }
    
    .header p {
        font-weight: 500;
        font-size: 16px;
        line-height: 18px;
        color: #101010;
        margin-bottom: 0px;
    }

    .login-form {
        width: 100%;
    }

    .login-form label {
        text-align: left;
        display: block;
        width: 100%;
    }

    .carousel-item img {
        height: 25vh;
        border-radius: 25px 25px 0px 0px;
        object-fit: cover;
    }

    .login-form input {
        margin-bottom: 10px;
    }

    .login-form button {
        width: 100%;
        height: 52px;
        background: #5FA8FF;
        border-radius: 10px;
        border: none;
        color: #FFF;
        margin-top: 25px;
        margin-bottom: 5px;
    }

    .Copyright {
        position: relative;
        z-index: 11;
    }

    .Copyright p {
        margin-top: 25px;
        text-align: center;
        font-style: normal;
        font-weight: 300;
        font-size: 8px;
        margin-bottom: 10px;
    }
}