@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: rgb(59, 59, 133);
}

nav {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 15%;
    background: #f4f4f4;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    padding: 40px;
    text-transform: uppercase;
    text-align: center;
}

.nav-item1 {
    padding: 15px;
    display: flex;
    align-items: center;
    color: #333;
    font-size: 16px;
}

.nav-item1 i {
    margin-right: 10px;
}

.nav-item1:hover {
    color: #cc0606;
    background-color: #e0e0e0;
    border-radius: 5px;
}

/* @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: rgb(59, 59, 133);
}

nav {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 15%;
    background: #f4f4f4;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    padding: 40px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    color: #333;
}

.nav-item1 {
    padding: 15px;
    display: flex;
    align-items: center;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.nav-item1 i {
    margin-right: 10px;
}

.nav-item1:hover {
    color: #cc0606;
    background-color: #e0e0e0;
    border-radius: 5px;
} */

.content {
    margin-left: 15%;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border: 2px solid #ddd;
    background-color: #f9f9f9;
}

th {
    background-color: #f4f4f4;
    color: #333;
}

.btn {
    padding: 8px 15px;
    margin: 2px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.present {
    background-color: #4CAF50;
    color: white;
}

.absent {
    background-color: #f44336;
    color: white;
}

.active {
    border: 2px solid #000;
}

#statusList {
    margin-top: 20px;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#presentList, #absentList {
    background-color: #4CAF50;
    border: 2px solid #ddd;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
}
#absentList{
    background-color: #f44336;
}