
/* Existing styles */
.main-frame {
align-items: center;
}

.loginLogo {
    width: 100%;
    display: flex;
    justify-content: center; /* Horizontally centers the content */
    align-items: center; /* Vertically centers the content */
    margin-top: 50px;
    margin-bottom: 50px;
}
.main {
    width: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 10px;
}
img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 300px;
    height: auto;
}
.login-frame {
    max-width: 400px;
    width: 100%;
    background-color: rgb(42, 41, 103);
    border-radius: 10px;
    text-align: center;
    padding: 40px;
    box-shadow: 2px 2px 15px rgb(20, 126, 188);
    z-index: 1;
}
.login-frame h2 {
    margin-bottom: 20px;
    color: #f8f8fb;
}
input, select {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
input:focus, select:focus {
    border-color: #30d8ea;
    outline: none;
}
button {
    background-color:rgb(20, 126, 188);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 10px;
    cursor: pointer;
    width: 45%;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-top: 10px;
}
button:hover {
    background-color: #7ec0ef;
}
.error-message {
    color: red;
    margin: 10px 0;
}

/* Mobile-friendly adjustments */
@media (max-width: 600px) {
    .main {
        flex-direction: column;
        padding: 5px;
    }
    .login-frame {
        padding: 20px;
    }
    button {
        width: 100%;
        margin-top: 15px;
    }
    h2 {
        font-size: 1.5em;
    }
}
