/* Table Striping */
tbody tr:nth-child(even) {
    background-color: #f8fafc; /* slate-50 */
}

tbody tr:hover {
    background-color: #e0e7ff; /* indigo-50 */
}

/* Custom Scrollbar for nicer desktop look */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Checkbox Size Override for better clickability */
input[type="checkbox"] {
    cursor: pointer;
    width: 1.25rem;
    height: 1.25rem;
}

/* Ensure sticky header works well */
thead th {
    backdrop-filter: blur(4px);
    background-color: rgba(241, 245, 249, 0.95);
}

/* Dropdown Animation */
#dataMenuDropdown:not(.hidden) {
    animation: fadeIn 0.1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Toast Notification (Simple) */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #334155;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 100;
}
.toast.show {
    opacity: 1;
}

/* Table Inputs */
.table-input {
    width: 100%;
    background: transparent;
    border: 1px solid transparent;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 0.875rem;
    color: #1e293b;
}

.table-input:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: #cbd5e1;
}

.table-input:focus {
    background-color: white;
    border-color: #6366f1; /* indigo-500 */
    outline: none;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

select.table-input {
    cursor: pointer;
}