/* Page header styling */
#page-header {
    color: #333;
    padding: 10px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-size: 24px;
    font-weight: bold;
    background-color: transparent;
    /*width: 50%;*/
    margin: 10px auto;
    display: flex;
    gap: 15px;
}

/* Overall page styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
}

#marquee-container {
    margin: 20px 0;
    font-size: 16px;
    font-weight: bold;
    color: #007bff;
    text-align: center;
}
marquee {
    font-size: 18px;
    color: #333;
}

/* Table container styling */
#table-container {
    background-color: #f0f0f0c9;
    padding: 20px;
    width: 95%;  /* Adjusted width to 95% of the screen */
    margin-top: 0px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Table styling */
.centered-table {
    width: 100%;  /* Ensures the table takes full width of the container */
    border-collapse: collapse;
    margin: 10px 0;
}

.centered-table th, .centered-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
}

.centered-table th {
    background-color: #f4f4f4;
    color: #333;
    cursor: pointer;
    text-align: center;
}

.centered-table td {
    text-align: center;
}

/* Styling for input fields in edit mode */
.centered-table td input, .centered-table td select, .centered-table td input[type="date"] {
    width: 90%;  /* Ensure the input fields don't break the layout */
    padding: 5px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Button Styling */
button {
    padding: 8px 12px;
    margin: 2px;
    border: none;
    background-color: #007BFF;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

button:hover {
    background-color: #0056b3;
}

button[disabled] {
    background-color: #cccccc;
    cursor: not-allowed;
}

button:focus, button:active {
    outline: none;
    box-shadow: none;
}

/* Filter inputs styling */
.filters input {
    width: 90%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

/* Pagination Styling */
#pagination-container {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    margin: 0 4px;
    border: 1px solid #ddd;
    transition: background-color 0.3s;
}

.pagination a.active {
    background-color: #333;
    color: white;
    border: 1px solid #333;
}

.pagination a:hover:not(.active) {
    background-color: #ddd;
}

/*Header button start*/
/*#page-header {
    background-color: #007BFF;
    color: white;
    padding: 20px;
    text-align: center;
}*/

.header-buttons {
    /*margin-top: 15px;*/
    display: flex;
    align-items: center
}

.btn {
    background-color: #28a745; /* Green */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #218838; /* Darker green */
}

.sign-out {
    background-color: #dc3545; /* Red */
}

.sign-out:hover {
    background-color: #c82333; /* Darker red */
}

.change-password {
    background-color: #007BFF; /* Blue */
}

.change-password:hover {
    background-color: #0056b3; /* Darker blue */
}

/*Header button end*/
