body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.sidebar {
    height: 100vh;
    background-color: #2c3e50; /* Dark Blue-Gray */
    color: white;
    padding-top: 20px;
    position: fixed;
    width: 250px;
}

.sidebar a {
    padding: 15px 25px;
    text-decoration: none;
    font-size: 18px;
    color: #bdc3c7;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover, .sidebar a.active {
    color: white;
    background-color: #34495e;
}

.sidebar .user-info {
    padding: 20px;
    border-bottom: 1px solid #34495e;
    margin-bottom: 20px;
}

.content {
    margin-left: 250px;
    padding: 20px;
}

.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-color: white;
    margin-bottom: 20px;
    padding: 20px;
}

.card-title {
    color: #7f8c8d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.header {
    background-color: white;
    padding: 15px 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eec;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

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

th {
    background-color: #ecf0f1;
    color: #2c3e50;
}

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

.btn-primary {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.status-badge {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.status-present, .status-approved, .status-published { background-color: #d4edda; color: #155724; }
.status-absent, .status-rejected { background-color: #f8d7da; color: #721c24; }
.status-excused, .status-submitted { background-color: #fff3cd; color: #856404; }

.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

input[type="text"], input[type="password"], textarea, select {
    width: 100%;
    padding: 10px;
    margin: 10px 0 20px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
