/* Login Form Styling */
.login-container {
    width: 300px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    text-align: center;
}

.login-container h2 {
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: darkgreen;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: navy;
}

.error-message {
    color: red;
    margin-top: 10px;
    font-size: 14px;
}




/* Stats Table Styling */
.stats-section {
    margin: 40px auto;
    max-width: 800px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.stats-table th, 
.stats-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.stats-table thead {
    background-color: navy;
    color: white;
}

.stats-table tr:hover {
    background-color: #f1f1f1;
}

.stats-table td {
    color: #333;
}



/* Announcements Styling */
#announcements-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 20px auto;
	text-align: left;
}

.announcement-card {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.announcement-title {
    font-weight: bold;
    font-size: 1.2em;
    color: navy;
}

.announcement-date {
    font-size: 0.9em;
    color: gray;
    margin-bottom: 8px;
}

.announcement-content {
    font-size: 1em;
    color: #333;
}

.announcement-link {
    text-decoration: none;
    color: inherit;
    display: block; /* Makes the whole card clickable */
}