/* clockpicker */
.clockpicker-popover{
    z-index: 2050 !important;
}
.popover-clockpicker{
    z-index: 2050 !important;
}
/* .popover{
    z-index: 2050 !important;
} */

/* .table-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

thead {
    background-color: #3498db;
    color: white;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
} */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 1200px) {
    #calendar-table th,
    #calendar-table td {
        width: calc(100% / 8);
    }
}

tbody tr:hover {
    background-color: #f8f9fa;
}

/* Clickable rows for tasks and projects tables */
#tasks-table tbody tr,
#tasks-new-table tbody tr,
#projects-table tbody tr,
#sessions-table tbody tr {
    cursor: pointer;
}

#tasks-table tbody tr:hover,
#projects-table tbody tr:hover {
    background-color: #e8f4f8;
    box-shadow: inset 3px 0 0 #3498db;
}


.btn-start {
    background-color: #27ae60;
    color: white;
    padding: 2px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
}

.btn-start:hover {
    background-color: #219a52;
}

.btn-end {
    background-color: #e67e22;
    color: white;
    padding: 2px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
    /* margin-left: 5px; */
}

.btn-end:hover {
    background-color: #d35400;
}

.btn-delete {
    background-color: #e74c3c;
    color: white;
    padding: 2px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
    /* margin-left: 5px; */
}

.btn-delete:hover {
    background-color: #c0392b;
}



/* Status badges */
.status-not_started {
    background-color: #95a5a6;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.status-in_progress {
    background-color: #f39c12;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.status-complete {
    background-color: #27ae60;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Priority badges */
.priority-high {
    background-color: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.priority-medium {
    background-color: #f39c12;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.priority-low {
    background-color: #3498db;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.progress-bar {
    background-color: #ecf0f1;
    border-radius: 4px;
    height: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #27ae60;
    transition: width 0.3s;
}

/* Calendar styles */
.calendar-container {
    overflow-x: auto;
}

#calendar-table {
    table-layout: fixed;
    width: 100%;
}

#calendar-table th,
#calendar-table td {
    /* width: calc(100% / 8); */
    min-width: 125px;
    text-align: center;
    vertical-align: middle;
}

#calendar-table th {
    background-color: #3498db;
    color: white;
    position: sticky;
    top: 0;
}

#calendar-table .user-cell {
    background-color: #f8f9fa;
    font-weight: bold;
    text-align: left;
    padding-left: 10px;
}

#calendar-table .calendar-cell {
    min-height: 100px;
    height: 100px;
    padding: 5px;
    vertical-align: top;
}

.calendar-task {
    background-color: #3498db;
    color: white;
    padding: 4px 6px;
    margin: 2px 0;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-task.priority-high {
    background-color: #e74c3c;
}

.calendar-task.priority-medium {
    background-color: #f39c12;
}

.calendar-task.priority-low {
    background-color: #3498db;
}

.calendar-task:hover {
    opacity: 0.8;
    transform: scale(1.02);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.calendar-nav {
    display: flex;
    align-items: center;
}
