body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100vh;
    background-color: #f4f6f8;
    color: #333;
}

.sidebar {
    width: 250px;
    background-color: #001f3f; /* Dark Navy */
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.sidebar h2 {
    margin-bottom: 30px;
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
}

.sidebar .user-info {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #334e68;
    font-size: 0.9rem;
}

.sidebar .user-info span {
    color: #ff851b; /* Orange Accent */
    font-weight: bold;
}

.nav-links {
    list-style: none;
    padding: 0;
}

.nav-links li {
    margin-bottom: 15px;
}

.nav-links a {
    color: #d1d8e0;
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    background-color: #003366;
    color: #ff851b;
}

.logout-btn {
    margin-top: auto;
    background-color: #ff4136;
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
}

.main-content {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.card-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    flex: 1;
    text-align: center;
}

.card h3 {
    margin: 0 0 10px 0;
    font-size: 1rem;
    color: #666;
}

.card .value {
    font-size: 2rem;
    font-weight: bold;
    color: #001f3f;
}

.card.alert .value {
    color: #ff4136;
}

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

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

th {
    background-color: #001f3f;
    color: white;
}

tr:hover {
    background-color: #f9f9f9;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    background-color: #001f3f;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: #0074D9;
}

.btn-secondary {
    background-color: #AAAAAA;
}

.btn-accent {
    background-color: #ff851b;
    color: white;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    background-color: #f4f6f8;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 300px;
    text-align: center;
}

.login-box h2 {
    color: #001f3f;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Fix padding issue */
}

.error-msg {
    color: red;
    margin-bottom: 15px;
}
