/* Style for the student table under body.students */
body.students .student-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

body.students .student-table th,
body.students .student-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

body.students .student-table th {
    background-color: #d0e2ff; /* light blue */
    color: #000;               /* text color */
    font-weight: bold;         /* optional for emphasis */

}


body.students .student-table tr:nth-child(even) {
    background-color: #f9f9f9;
} 

body.students .student-table tr:hover {
    background-color: #f1f1f1;
}

body.students .student-table button {
    padding: 5px 10px;
    border: none;
    color: white;
    background-color: #007bff;
    cursor: pointer;
    border-radius: 4px;
}

body.students .student-table form .delete {
    background-color: red;
}

body.students .student-table form .delete:hover {
    background-color: #6f0505;
}

body.students .student-table button:hover {
    background-color: #0056b3;
}

body.students .student-table button:active {
    background-color: #003d7a;
}

body.students {
    padding-top: 40px;
}

body.students .students-table {
    margin: 10px;
}

body.students h1,
body.students h2 {
    text-align: center;
}


body.students .students-container .notification {
     padding: 15px;
     margin-bottom: 20px; 
     border-radius: 5px;
     font-size: 16px;
     width: 100%;
     text-align: center; 
 }
body.students .students-container .notification.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
body.students .students-container .notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb; 
}

/* Sticky headers */
.table-scroll {
    max-height: 500px;
    overflow-y: auto;
}

.table-scroll thead th {
    position: sticky; 
    top: 0;
    background: #fff;
    z-index: 5;
}



