/* Reset styles and basic setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f0f0f0;
    margin: 0;
}

/* Navbar styles */
.navbar {
    background-color: #022f58;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
}

.navbar img {
    max-height: 60px;
}

/* Main content container */
.summary {
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.statistics {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.statistic-block {
    width: 100%; /* Full width on mobile, half width on larger screens */
    margin-bottom: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.chart-container {
    position: relative;
    width: 100%;
    max-width: 400px; /* Adjust as needed */
    margin: 0 auto;
    text-align: center;
}

.chart {
    width: 100%;
    height: auto;
}

.legend {
    text-align: center;
    margin-top: 10px;
}

.details {
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.statistic-blocktable {
    background-color: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.statistic-block h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.table-container {
    overflow-x: auto;
    margin-top: 10px;
}

/* Table and its elements */
#admissionTable {
    width: 100%;
    border-collapse: collapse; /* Ensure borders collapse */
    margin-top: 10px;
    border: 1px solid #ddd; /* Border around the entire table */
}

#admissionTable th,
#admissionTable td {
    padding: 8px 12px;
    text-align: left;
    border: 1px solid #ddd; /* Border for each cell */
}

/* Table header background */
#admissionTable th {
    background-color: #f2f2f2;
}

/* Alternating row background */
#admissionTable tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Hover effect on rows */
#admissionTable tbody tr:hover {
    background-color: #e9e9e9;
}
/* Footer styles */
.footer {
    text-align: center;
    padding: 10px;
    margin-top: 20px;
    background-color: #022f58;
    color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .statistic-block {
        width: calc(50% - 40px); /* Two blocks side by side with space */
        margin-right: 20px;
    }
}
