/* Grid column font size */
.gantt_grid_data .gantt_cell {
    font-size: 14px;
    padding: 6px;
}

/* Task bar text */
.gantt_task_content {
    font-size: 13px;
    font-weight: 600;
    color: white;  /* text on bar */
    text-align: center;
}
.gantt_grid_data .btn-outline-primary {
    padding: 2px 6px;
    font-size: 0.75rem;
    line-height: 1;
}
/* Today line */
.today-line {
    position: absolute;
    width: 2px;
    background: red;
    top: 0;
    bottom: 0;
    z-index: 9999;
}

/* Green vs Red bars */
.gantt_task_line.green {
    background-color: #28a745 !important; /* Bootstrap green */
    border: none;
}
.gantt_task_line.red {
    background-color: #dc3545 !important; /* Bootstrap red */
    border: none;
}
/* Month headers (August 2025, etc.) */
.gantt_scale_cell {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 4px;
    background: #f8f9fa; /* light gray background */
    border-bottom: 1px solid #ddd;
}

/* Day headers (01, 02, etc.) */
.gantt_task_scale .gantt_scale_cell {
    font-size: 11px;
    font-weight: 400;
    padding: 2px 2px;
    color: #444;
}

/* Grid column header (Unit / Lessons) */
.gantt_grid_scale .gantt_grid_head_cell {
    font-size: 13px;
    font-weight: 600;
    padding: 4px;
    background: #e9ecef;
    border-bottom: 1px solid #ddd;
}

/* weekend columns (scale + task area) */
.weekend{
  background-color:#f5f5f5 !important;
  color:#999 !important;
}

/* Core styling to match Bootstrap aesthetic */
.select2-container--default .select2-selection--multiple {
    border: 1px solid #ced4da;
    border-radius: .375rem;
    padding: .375rem;
    min-height: 44px;
    cursor: text;
    background-color: #fff;
}

/* Tags (selected items) */
.select2-container--default .select2-selection__choice {
    background-color: #0d6efd;
    border: none;
    color: #fff;
    padding: 4px 8px;
    margin: 3px 4px;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Remove X misalignment */
.select2-container--default .select2-selection__choice__remove {
    color: rgba(255,255,255,0.8);
    margin-right: 4px;
    font-weight: bold;
}

/* Dropdown style */
.select2-dropdown {
    border-radius: .375rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 1px solid #dee2e6;
}

/* Result item text alignment (LTR with Arabic support) */
.select2-results__option {
    text-align: left;
    direction: ltr;
    line-height: 1.4;
}

/* Keep code visible & clear */
.select2-selection__placeholder {
    color: #6c757d;
}

.select2-results__options {
    max-height: 300px !important;
}
