/* Puntr Daily Roster Table Styles */

.puntr-daily-roster {
    margin: 20px 0;
}

.puntr-daily-roster h3 {
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #333;
}

.puntr-roster-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.puntr-roster-table thead {
    background: #1e2938;
    color: #fff;
}

.puntr-roster-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.puntr-roster-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.puntr-roster-table tbody tr:hover {
    background: #f5f5f5;
}

.puntr-roster-table tbody tr:last-child td {
    border-bottom: none;
}

/* Provider links */
.puntr-roster-table a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
}

.puntr-roster-table a:hover {
    text-decoration: underline;
    color: #135e96;
}

/* Overnight shifts styling */
.puntr-roster-table tr.overnight-shift {
    background: #f3f4f6;
}

.puntr-roster-table tr.overnight-shift:hover {
    background: #e5e7eb;
}

.puntr-roster-table tr.overnight-shift td {
    position: relative;
}

.puntr-roster-table tr.overnight-shift td:first-child:before {
    content: "🌙";
    position: absolute;
    left: -5px;
    font-size: 12px;
}

/* Photo cells */
.puntr-roster-table .photo-cell {
    padding: 5px;
}

.puntr-roster-table .provider-photo {
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.puntr-roster-table .no-photo {
    width: 50px;
    height: 50px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Responsive table */
@media (max-width: 600px) {
    .puntr-roster-table {
        font-size: 0.9em;
    }
    
    .puntr-roster-table th,
    .puntr-roster-table td {
        padding: 10px;
    }
    
    .puntr-roster-table .provider-photo,
    .puntr-roster-table .no-photo {
        width: 40px;
        height: 40px;
    }
}

/* Provider roster table */
.puntr-provider-roster {
    margin-top: 40px;
}

.puntr-provider-roster h3 {
    margin-bottom: 20px;
    font-size: 1.5em;
    color: #333;
}

.puntr-provider-roster-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.puntr-provider-roster-table thead {
    background: #1e2938;
    color: #fff;
}

.puntr-provider-roster-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.puntr-provider-roster-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.puntr-provider-roster-table tbody tr:last-child td {
    border-bottom: none;
}

.puntr-provider-roster-table tbody tr:hover {
    background: #f5f5f5;
}

/* Status styling */
.puntr-provider-roster-table .status-scheduled .roster-status {
    color: #2196F3;
}

.puntr-provider-roster-table .status-confirmed .roster-status {
    color: #4CAF50;
}

.puntr-provider-roster-table .status-cancelled {
    opacity: 0.5;
}

.puntr-provider-roster-table .status-cancelled .roster-status {
    color: #f44336;
}

.puntr-provider-roster-table .status-completed .roster-status {
    color: #9E9E9E;
}