body {
    background-image: url('https://portal.rotix.com/uniq/a6WqwNRkXgDP9qjX.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

#viewport {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.login-container {
    width: 90%;
    max-width: 340px;
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    margin: auto;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    -webkit-overflow-scrolling: touch; /* Add this line */
}

input[type=text],
input[type=password] {
    width: 100%;
    padding: 12px 0;
    margin: 8px 0;
    display: inline-block;
    border: none;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 14px;
    -webkit-appearance: none; /* Add this line */
}

input[type=submit] {
    background-color: #01a290;
    color: white;
    padding: 8px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    -webkit-appearance: none; /* Add this line */
}

/* Rest of the CSS styles remain the same */


input[type=submit]:hover {
    opacity: 0.8;
}

label {
    font-size: 16px;
    color: #01a290;
}

.welcome-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

.rotix-title {
    font-size: 24px;
    color: #01a290;
    margin-bottom: 10px;
}

.forgot-password {
    font-size: 14px;
    color: #333;
    text-align: left;
    margin-bottom: 10px;
}

.logo {
    display: none;
}

.powered-by {
    display: none;
    font-size: 14px;
    color: #333;
    text-align: right;
    z-index: 999;
}

.powered-by a {
    color: #333;
    text-decoration: none !important;
}

.powered-by-logo {
    display: none;
    width: 200px;
    height: auto;
}

@media only screen and (max-width: 480px) {
    body {
        background-size: auto;
    }

    .desktop-login {
        display: none;
    }

    .mobile-login {
        display: block;
        margin-top: -100px;
    }

    .mobile-login form {
        background-color: #f2f2f2;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    }

    .mobile-login h2.rotix-title {
        color: #01a290;
        font-size: 24px;
        text-align: center;
        margin-bottom: 20px;
    }

    .mobile-login .welcome-text {
        color: #333;
        font-size: 16px;
        text-align: center;
        margin-bottom: 20px;
    }

    .mobile-login label.username-label,
    .mobile-login label.password-label {
        color: #01a290;
        font-size: 16px;
        margin-bottom: 5px;
        display: block;
    }

    .mobile-login input[type="text"],
    .mobile-login input[type="password"] {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: none;
        border-radius: 4px;
        background-color: #fff;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    }

    .mobile-login input[type="submit"] {
        background-color: #01a290;
        color: white;
        padding: 10px;
        margin-top: 10px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        width: 100%;
        font-size: 16px;
        transition: opacity 0.3s ease;
    }

    .mobile-login input[type="submit"]:hover {
        opacity: 0.8;
    }

    .mobile-login .forgot-password {
        color: #333;
        font-size: 14px;
        text-align: center;
        margin-top: 15px;
    }
}

/* Add media query for large devices */
@media only screen and (min-width: 801px) {
    .login-container {
        width: 340px;
        margin: auto;
    }

    .logo {
        display: block;
        position: absolute;
        top: 20px;
        left: 20px;
        width: 200px;
    }

    .powered-by {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
    }

    .powered-by-logo {
        display: block;
    }
}
