body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f6f9fc;
    color: #222;
}

header {
    background-color: #1e3a8a;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 24px;
}

.container {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
}

form {
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
}

form select,
form input[type="number"],
form button {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background-color: #2563eb;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 20px;
}

form button:hover {
    background-color: #1d4ed8;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background-color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

table th, table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

table th {
    background-color: #e0e7ff;
    color: #1e3a8a;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
}

table tr:hover {
    background-color: #f1f5f9;
}

table td {
    color: #374151;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #d4edda; /* light green */
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #c3e6cb;
}


.logo a {
    font-size: 1.25rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.logo-img {
    height: 40px;
    width: auto;
}


.nav-links a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-links a:hover {
    color: #007bff;
}

.nav-links .active {
    border-bottom: 2px solid #007bff;
    color: #007bff;
}


footer {
    border-top: 1px solid #ddd;
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

footer a {
    color: #007bff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
