
/* Trainerslogin */

.vpng-account-nav {
    margin-bottom: 30px;
    border-bottom: 1px solid #030303 !important;
}

.vpng-account-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.vpng-account-nav a {
    display: block;
    padding: 10px 0;
    color: #666;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.vpng-account-nav a:hover,
.vpng-account-nav a.active {
    color: #0073aa;
    border-bottom-color: #0073aa;
}

.vpng-trainings-table {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.vpng-trainings-table h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.vpng-trainings-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.vpng-trainings-table th {
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #ddd;
    font-weight: 600;
}

.vpng-trainings-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.vpng-trainings-table .button {
    display: inline-block;
    padding: 6px 12px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}

/* .vpng-trainings-table .button:hover {
    background: #005d87;
}

.vpng-trainings-table th:nth-child(1) {
    width: 10%;
}

.vpng-trainings-table th:nth-child(2) {
    width: 35%;
}

.vpng-trainings-table th:nth-child(3) {
    width: 12.5%;
}

.vpng-trainings-table th:nth-child(4) {
    width: 12.5%; 
}*/

.vpng-trainings-table th:nth-child(5) {
    width: 7.5%; 
}

.vpng-trainings-table th:nth-child(6) {
    width: 7.5%; 
}

.vpng-trainings-table th:nth-child(7) {
    width: 7.5%; 
}

.vpng-trainings-table th:nth-child(8) {
    width: 7.5%;
}

.vpng-trainings-table th:nth-child(9) {
    width: 10%; 
} 

/* Ensure content doesn't overflow */
.vpng-trainings-table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attendees-row > td {
    padding: 0 !important;
}

.attendees-table {
    margin: 15px !important;
    border: 1px solid #ddd;
}

.attendees-table th {
    background: #f5f5f5;
    padding: 8px;
}

.attendees-table td {
    padding: 8px;
}

.show-attendees {
    margin-left: 5px !important;
}

/* General table styling */
.default-table.widefat {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Header */
.default-table thead th {
    background: #f1f1f1; /* Light gray for contrast */
    color: #333333;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 16px;
    border-bottom: 2px solid #e0e0e0;
    text-align: left;
}

.default-table thead th:first-child {
    border-top-left-radius: 8px;
}

.default-table thead th:last-child {
    border-top-right-radius: 8px;
}

/* Rows */
.default-table tbody tr {
    transition: background 0.2s ease;
}

.default-table tbody td {
    padding: 12px 16px;
    font-size: 13px;
    color: #444444;
    vertical-align: middle;
    border-bottom: 1px solid #ececec;
}

/* Striped rows */
.default-table.striped tbody tr:nth-child(odd) {
    background: #fafafa; /* Subtle striping */
}

.default-table tbody tr:hover {
    background: #f5f5f5; /* Hover effect */
}

/* No results row */
.default-table tbody tr td[colspan="6"] {
    text-align: center;
    color: #666666;
    font-style: italic;
    padding: 20px;
}

/* Buttons */
.default-table .button {
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.default-table .button-primary {
    background: #0073aa;
    border-color: #0073aa;
    color: #ffffff;
}

.default-table .button-primary:hover {
    background: #005d87;
    border-color: #005d87;
}

/* Optional: If you add a Delete button later */
.default-table .button-secondary {
    background: #ffffff;
    border-color: #cccccc;
    color: #555555;
}

.default-table .button-secondary:hover {
    background: #f1f1f1;
    border-color: #bbbbbb;
}

/* Responsive adjustments */
@media screen and (max-width: 782px) {
    .default-table.widefat {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .default-table thead th,
    .default-table tbody td {
        min-width: 100px; /* Ensure columns don’t collapse too much */
    }
}

.invoice-blue {
    background: #2196f3 !important; /* blue */
    color: #fff !important;
}
.invoice-red {
    background: #e53935 !important; /* red */
    color: #fff !important;
}
.invoice-green {
    background: #4caf50 !important; /* green */
    color: #fff !important;
}