* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    font-family: 'Montserrat', sans-serif;
}

/* body {
    background-color: #f7f9fc;
    position: relative;
    min-height: 100vh;
} */

.background {
    /* background-image: linear-gradient(135deg, #878a8d 0%, #1360b8 100%); */
    background-image: url(img/bg.png) !important;
    background-size: cover;
    /* background-position: center; */
    /* background-repeat: no-repeat; */
    height: 100vh;
    width: 100%;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
}
.overlay{
    background-color: #0160dd28;
    height: 100vh;
    width: 100%;
}

.container {
    max-width: 500px;
    margin: 0px auto;
    padding: 20px;
    background-color: #ffffff9b;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    top: 10%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 5px;
}

h1 {
    color: #2F80ED;
    margin-bottom: 20px;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
    font-size: 16px;
}

label {
    display: block;
    margin-bottom: 10px;
    text-align: left;
}

input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #2F80ED;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #1360b8;
}

/* #message {
    margin-top: 20px;
    font-size: 16px;
    color: #2F80ED;
} */
#message {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    display: none; 
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

/* Success message style */
.message-success {
    color: green;
    background-color: #d4edda;
    border: 1px solid green;
}

/* Error message style */
.message-error {
    color: red;
    background-color: #f8d7da;
    border: 1px solid red;
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 18px;
    cursor: pointer;
}

/* Loader */
.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border: 8px solid #ccc;
    border-top: 8px solid #2F80ED;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: block;
}

.hidden {
    display: none;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
