/* Base table styles */
.widefat.fixed {
    border: 1px solid #e5e5e5;
    border-spacing: 0;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    width: 100%;
}

/* Header styles */
.widefat.fixed thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    color: #495057;
    font-weight: 600;
    padding: 12px;
    text-align: left;
}

/* Cell styles */
.widefat.fixed tbody td {
    padding: 12px;
    vertical-align: middle;
    border-bottom: 1px solid #e5e5e5;
}

/* Zebra striping */
.widefat.fixed tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Row hover effect with tooltip */
.widefat.fixed tbody tr {
    position: relative;
    transition: background-color 0.2s ease;
}

/* Hover background effect */
.widefat.fixed tbody tr:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

/* Tooltip container */
.row-tooltip {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    z-index: 100;
    pointer-events: none;
    white-space: nowrap;
}

/* Show tooltip on row hover */
.widefat.fixed tbody tr:hover .row-tooltip {
    display: block;
}

/* Room color and icon styles */
.room-title-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.room-color-indicator {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 782px) {
    .row-tooltip {
        display: none !important;
    }
}