body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4; /* Light background */
    padding: 20px;
    margin: 0;
}
.container {
    max-width: 400px;
    margin: auto;
    background: #fff; /* White card background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #4a90e2; /* Soft blue heading */
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    color: #666; /* Lighter gray for labels */
}
input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc; /* Light border */
    border-radius: 4px;
    box-sizing: border-box;
}
input:focus {
    border-color: #4a90e2; /* Blue focus border */
    outline: none;
}
button {
    width: 100%;
    padding: 12px;
    background-color: #4a90e2; /* Blue button */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
button:hover {
    background-color: #357ab8; /* Darker blue on hover */
}
.already-have-account {
    text-align: center;
    margin-top: 20px;
}
.already-have-account a {
    color: #4a90e2; /* Link color */
    text-decoration: none;
}
.already-have-account a:hover {
    text-decoration: underline;
}
.forgot-password a{
    color: #4a90e2;
    text-decoration: none;
}
.register-link a{
    color: #4a90e2;
    text-decoration: none;
}
.login-link {
    display: block;
    text-align: center;
    margin-top: 15px;
}
.login-link a {
    color: #4a90e2;
    text-decoration: none;
}
.login-link a:hover {
    text-decoration: underline;
}
.logo-container {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.logo-container img {
    max-width: 200px;
    height: auto;
}
/* Responsive styles */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    button {
        font-size: 14px;
    }
    input {
        padding: 8px;
    }
    .logo-container img {
        max-width: 160px;
    }
}
.error {
    color: red;  /* Set the text color to red for error messages */
    font-size: 0.9em;  /* Slightly smaller font size */
    margin-top: 5px;  /* Space above error messages */
}
.required:after {
    content: " *";  /* Add an asterisk after the label */
    color: red;  /* Color of the asterisk */
}

.alert {
    position: relative;
    padding: 15px 45px 15px 15px; /* Increased right padding */
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.alert-warning {
    color: #d3a200;
    background-color: #fdfdd3;
    border-color: #edfdb5;
}
.close-btn {
    position: absolute;
    right: 15px; /* Increased from 10px */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    color: inherit;
    opacity: 0.5;
    padding: 8px; /* Added padding for better touch target */
    margin-left: 15px; /* Added margin for spacing */
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex; /* Changed from contents */
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    opacity: 1;
}
