
/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* MAIN CONTAINER */
.gantt-chart {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh; /* fill the viewport */
    border: none;
    outline: 1px solid #ccc;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 0;
    margin: 0;
    overflow-y: auto;
}

/* HEADER */
.header-wk {
    position: sticky; 
    top: 0; 
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    background-color: #edf1f8;
    z-index: 50; /* above rows */
}

/* ROWS CONTAINER */
.rows-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    
}

/* ROWS */
.row {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    position: relative;
}

/* HEADER CELLS + TASK CELLS */
.day-of-week,
.task {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    font-weight: bold;
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.task {
    transition: background-color 0.45s ease-in-out;
}


/* REMOVE ALL BORDERS IN ROWS */
.task,
.row,
.rows-container {
    border: none !important;
}

/* REMOVE HEADER CELL BORDERS TOO */
.day-of-week {
    border: none !important;
      padding: 4px 0;             /* slimmer labels */
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  color: #555;
  user-select: none;
}
.day-of-week:hover{
    border: none !important;
      padding: 4px 0;             /* slimmer labels */
  text-align: center;
  font-weight: bold;
  font-size: 12px;
    color: #fff;
  background-color: #007BFF;
  cursor:pointer;
}

/* ALTERNATING COLUMN COLORS */
 .day-of-week:nth-child(odd), 
.task:nth-child(odd) {
    background-color: #ffffff; 
}

kill .day-of-week:nth-child(even), 
.task:nth-child(even) {
    
    background-color:#f7f9fc;/*#edf1f8 */
}

.day-of-week:hover{
    border: none !important;
      padding: 4px 0;             /* slimmer labels */
  text-align: center;
  font-weight: bold;
  font-size: 12px;
  color: #fff;
  background-color: #b3d7ff;   /*#66b0ff  #b3d7ff  #cce5ff #e6f2ff*/
  cursor:pointer;
}


/* TASK HEIGHT */
.task {
    min-height: 40px;
}

/* HEADER LABELS */
.day-label {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

/* WEEKDAY TEXT */
.weekday {
    font-weight: bold;
    font-size: 12px;
    color: #555;
    max-width: 100%;
    min-width: 0;
    white-space: normal; /* allow wrapping */ 
    overflow-wrap: break-word; /* break long words */ 
    word-break: break-word; /* fallback */
    /*
    white-space: nowrap;
    text-overflow: ellipsis;
    */
}

.daynum {
    font-size: 0.85rem;
    margin-top: 2px;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* WEEKDAY PILL */
.weekday-pill {
    display: inline-block;
    padding: 4px 10px;
    background-color: #fafafa;
    border: 1px solid #ddd;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    user-select: none;
    text-align: center;
    white-space: nowrap;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* EVENT BARS */
.event-bar-wk {
    position: absolute;
    top: 10%;
    height: 90%;
    /*background-color: #c79b21;
    outline: 3px solid #c79b21;*/
    
    
    box-sizing: border-box;
    display: flex;
    align-items: center;
    background-color: #fff;
    margin:0;
    border-radius: 4px;
    color: rgb(38, 37, 37);
    font-size: 14px;
    padding-left: 0px;
  
    overflow: hidden;
    text-overflow: ellipsis;
   
}

/* MOBILE: condensed but same grid */
@media (max-width: 768px) {
    .task {
        height: 32px;
    }
    .weekday,
    .weekday-pill,
    .event-bar-wk {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .task {
        min-height: 28px;
    }
    .weekday,
    .weekday-pill,
    .event-bar-wk {
        font-size: 12px;
    }
}

/* ENSURE NO GAPS BETWEEN HEADER AND ROWS */
.header-wk,
.row {
    column-gap: 0;
    margin-left: 0 !important; margin-right: 0 !important;
}
.wk-indicator_Closets{
    border:3px solid #5C677D;
}
.wk-indicator_Doors{
    border:3px solid #CC9900;
}
.wk-indicator_Service{
    border:3px solid #CB4C4E;
}

.num-fill-Closets {
    position: absolute;
    display: flex;       
    align-items: center; 
    margin: 0;
    padding: 0 4px;
    height: 100%;          /* fill parent vertically */
    background-color:#5C677D !important;
    color:#FFF;
    font-size: .8rem;
    font-weight: 600;
   font-family: 'Roboto', sans-serif;
}

.num-fill-Doors{
    position: absolute;
    display: flex;       
    align-items: center; 
    margin: 0;
    padding: 0 4px;          
    height: 100%;          /* fill parent vertically */
    background-color:#CC9900 !important;
    color:#FFF;
    font-size: .8rem;
    font-weight: 600;
   font-family: 'Roboto', sans-serif;
}
.num-fill-Service{
    position: absolute;
    display: flex;       
    align-items: center; 
    margin: 0;
    padding: 0 4px;
    height: 100%;          /* fill parent vertically */  
    background-color:#CB4C4E !important;  
       color:#FFF;
    font-size: .8rem;
    font-weight: 600;
   font-family: 'Roboto', sans-serif;
}

/* this not used */
.num-fill-Closets .question-flag, .num-fill-Doors .question-flag, .num-fill-Service .question-flag { 
    position: absolute; top: -2px; 
    left: -2px; font-size: .7rem; 
    color: #FFF; 
    z-index: 20; 
}

[class^="num-fill-"] {
    position: relative; /* anchor point */
          color:#FFF;
    font-size: 16px;
    font-weight: 600;
   font-family: 'Roboto', sans-serif;
}
@media (max-width: 600px) {
    [class^="num-fill-"] {
        font-size: 14px;
        font-weight: 800;
    }
}


[class^="num-fill-"] .question-flag {
    position: absolute;
    top: -2px;
    left: -3px;
    font-size: .9rem;
    color: #FFF;
    z-index: 50;
}
/* not used
.dummy-placer{
    position: absolute;
    top: 0px;
    left: 0px;
    width:60px;
    height:60px;
}
.dummy-placer .question-flag {
    position: absolute;
    top: -3px;
    left: -4px;
    font-size: .9rem;
    color: #FFF;
    z-index: 50;
}
*/
.doubleBooked-tech{
    color:red;
}


.num-track-identifier{
    font-size: 12px;
    font-weight: 600;
}

.blank-fill-Closets {
    display: block;       
    margin: 0;
    padding: 0;
    height: 100%;          /* fill parent vertically */
    background-color:#5C677D !important;
}

.blank-fill-Doors{
       display: block;       
    margin: 0;
    padding: 0;
    height: 100%;          /* fill parent vertically */
    background-color:#CC9900 !important;
}
.blank-fill-Service{
    display: block;       
    margin: 0;
    padding: 0;
    height: 100%;          /* fill parent vertically */
    background-color:#CB4C4E !important;  
}

.bar-basic-txt{
   display: flex;
align-items: center;
  font-size: .8rem;
  font-weight: 600;
  height:100%;
  line-height: 1;          /* prevents text from expanding vertically */
  padding: 0 4px;              /* ensures no extra height */
  margin-left: 6px;               /* optional, keeps it tight */
  overflow: hidden;        /* prevents spillover */
 /* white-space: nowrap;      keeps text on one line */
  text-overflow: ellipsis; /* optional: adds "..." if text is too long */
}

.bar-main-txt {
    display: flex;
    align-items: center;
  font-size: .8rem;
  font-weight: 600;
  background-color: rgb(255, 255, 255);
  height:100%;
  line-height: 1;          /* prevents text from expanding vertically */
  padding: 0 4px;              /* ensures no extra height */
  margin: 0;               /* optional, keeps it tight */
  overflow: hidden;        /* prevents spillover */
 /* white-space: nowrap;      keeps text on one line */
  text-overflow: ellipsis; /* optional: adds "..." if text is too long */
}

.bar-address-txt{
     display: flex;
     align-items: center;
     text-align: center;
     font-size: .6rem;
  font-weight: 800;
  background-color: #fffdee;
  height:100%;
   text-transform: uppercase;
  line-height: 1;          /*   prevents text from expanding vertically */
  padding: 0 2px;              /* ensures no extra height */
  margin: 0;               /* optional, keeps it tight */
  overflow: hidden;        /* prevents spillover */
 /* white-space: nowrap;      keeps text on one line */
  text-overflow: ellipsis; /* optional: adds "..." if text is too long */
}



.bar-tech-txt {
  display: flex;       
  align-items: center; 
  font-size: .8rem;
  font-weight: 500;
 
  background-color: #FAFAFA; /*rgb(255, 253, 238); */
  height:100%;
 /*  display: inline-block;   ensures the span has a real box */
  line-height: 1;          /* prevents text from expanding vertically */
               /* ensures no extra height */
  padding:0;               /* optional, keeps it tight */
  overflow: hidden;        /* prevents spillover */
white-space: nowrap;     /*   keeps text on one line */
  text-overflow: ellipsis; /* optional: adds "..." if text is too long */
}



.text-padder{
    padding:4px;
}
.fill-4-h{
     padding:0 4px;
}
.col-highlight {
    background-color: #e6f2ff !important;
   
    position: relative;
}
