/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    margin: 20px;
}

/* Page Wrapper */
.wrap {
    max-width: 100%;
    width: 98%;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}


/* Title */
h1 {
    font-size: 22px;
    color: #333;
    text-align: center;
}

/* Labels & Inputs */
label {
    font-weight: bold;
    margin-right: 10px;
    font-size: 14px;
}

input[type="text"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 120px;
}

/* Buttons */
button {
    background: #007bff;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
}

button:hover {
    background: #0056b3;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}


/* Highlight Every Other Row */
tbody tr:nth-child(even) {
    background: #f9f9f9;
}

td input[type="text"],
td textarea {
    width: 95%; /* Adjust width for better alignment */
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}


/* Checkboxes */
input[type="checkbox"] {
    transform: scale(1.3);
    cursor: pointer;
}

/* Styling for update button inside the table */
td button {
    background: #28a745;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
}

td button:hover {
    background: #218838;
}

/* Messages */
td:last-child {
    font-weight: bold;
    color: red;
}

/* Custom Row Highlighting */
tbody tr.highlight-yellow {
    background-color: #fffbe6; /* Light yellow for unpaid */
}

tbody tr.highlight-gray {
    background-color: #e0e0e0; /* Light gray for non-related PM work */
}
