body {
    overflow-x: hidden;
    background-color: rgb(32, 32, 32);
}

.table-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: auto;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
}

table {
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    width: max-content;
    min-width: 100%;
    position: relative;
}

th, td {
    border: 1px solid #888;
    padding: 8px;
    min-width: 200px;
    height: 60px;
    position: relative;
}

#th-override {
    background: #353535;
}

thead th{
    position: sticky;
    vertical-align: middle;
    text-align: left;
    top: 0;
    background: #353535;
    z-index: 2;
}

th:first-child, td:first-child {
    position: sticky;
    top: 0;
    left: 0;
    background: #353535;
    z-index: 3;
    min-width: 60px !important;
    width: 60px !important;
    border: 1px solid #DDD;
}

thead th:first-child {
    z-index: 4;
    font-size: 10px;
    color: gray;
    text-align: center;
}

td:first-child {
    padding: 4px !important;
}

.task-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.task-bar {
    position: absolute;
    height: 100%;
    background: #673AB7;
    border-radius: 4px;
    color: white;
    font-size: 12px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    pointer-events: auto;
    z-index: 1;
    box-sizing: border-box;
    opacity: 0.9;
    border: 1px solid white;
}

.current-time {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: red;
    z-index: 2;
    pointer-events: none;
}

.current-time::after {
    content: attr(data-time);
    position: absolute;
    top: 0;
    left: 4px;
    background: red;
    color: white;
    padding: 2px 4px;
    font-size: 12px;
    border-radius: 2px;
    white-space: nowrap;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.container-fluid {
    padding: 20px;
    height: 100vh;
}