* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    height: 100vh;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: hidden;
}

.login-container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 0.6rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
}

.email-wrapper {
    position: relative;
}

.toggle-email {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 0.8rem;
}

button {
    width: 100%;
    padding: 0.7rem;
    border: none;
    border-radius: 5px;
    background: rgb(42, 42, 138);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
}

/* button:hover {
    background: #4338ca;
} */

.error {
    text-align: center;
    font-size: 16px;
    color: red;
}

.signup {
    text-align: center;
}

.signup a{
    text-decoration: none;
    color: rgb(31, 31, 141);
}

.signup a:hover{
    text-decoration: underline;
}

.img-logo {
    text-align: center;
}

.logo {
    height: 120px;
}

.forgot-password {
    text-align: center;
    font-size: 16px;
    color: #009579;
    text-decoration: none;
}

.forgot-password:hover{
    text-decoration: underline;
}


.messages-container {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    /* z-index: 9999; */
    /* display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center; */
}

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 15px;
    color: #fff;
    /* min-width: 260px; */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.alert-success {
    background-color: #3498db;
}


@media (max-width: 768px) {
    .login-container {
        margin-top: 25%;
    }

    .messages-container{
        width: 95%;
    }
}