/* Global reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url('../assets/bg3.jpg'); /* Background image */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: auto;
}

.main-container {
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.container {
    background: rgba(0, 0, 50, 0.7); /* Dark transparent blue */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.heading {
    font-size: 28px;
    color: white;
    margin-bottom: 30px;
}

.error-message {
    color: white; /* Change text color to white */
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
    background-color: rgba(255, 0, 0, 0.7); /* Red background with transparency */
    padding: 10px;
    border-radius: 5px;
}

label {
    font-size: 16px;
    color: #fff;
    display: block;
    margin-bottom: 10px;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background-color: #fff;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #002244;
}

.forgot-container {
    text-align: right;
    margin-bottom: 15px;
}

.forgot-password {
    color: #00BFFF;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Register text and link */
.register-p {
    color: #fff;
}

.register-link {
    color: #00BFFF;
    text-decoration: none;
    font-size: 14px;
}

.register-link:hover {
    text-decoration: underline;
}

/* Modal styling for forgot password */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .modal-content {
        width: 80%;
    }
}
