/* /Pages/CrmGanttView.razor.rz.scp.css */
/* Ported from the standalone "Crystal Ball Fleet Gantt Chart v4" mockup's <style> block. */

.gantt-wrap[b-icyvjh5hmr] { padding: 0.25rem 0; font-family: var(--font-sans, 'Inter', 'Segoe UI', sans-serif); }

.gantt-controls[b-icyvjh5hmr] {
  display: flex; align-items: center; gap: 10px; margin-bottom: 1rem;
  flex-wrap: wrap; padding: 9px 14px;
  background: var(--color-background-secondary, #F5F7FA);
  border: 1px solid var(--color-border-secondary, #C8CDD5);
  border-top: 3px solid #1D9E75;
  border-radius: 6px;
}
.gantt-ctrl-group[b-icyvjh5hmr]  { display: flex; align-items: center; gap: 7px; }
.gantt-ctrl-sep[b-icyvjh5hmr]    { width: 1px; height: 18px; background: var(--color-border-secondary, #C8CDD5); flex-shrink: 0; }
.gantt-controls label[b-icyvjh5hmr] {
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--color-text-secondary, #5A6474); white-space: nowrap;
}
.gantt-ctrl-select[b-icyvjh5hmr] {
  font-size: 12px; padding: 5px 10px; border-radius: 5px;
  border: 1.5px solid var(--color-border-secondary, #C8CDD5);
  background: #fff; font-family: inherit; cursor: pointer; font-weight: 500;
}
.gantt-ctrl-check[b-icyvjh5hmr] { cursor: pointer; accent-color: #1D9E75; width: 14px; height: 14px; }
.gantt-btn-reset[b-icyvjh5hmr] {
  font-size: 11px; padding: 5px 12px; border-radius: 5px;
  border: 1.5px solid var(--color-border-secondary, #C8CDD5);
  background: #fff; color: var(--color-text-secondary, #5A6474);
  cursor: pointer; font-family: inherit; font-weight: 600;
}
.gantt-btn-reset:hover[b-icyvjh5hmr] { background: #0D1F35; border-color: #0D1F35; color: #fff; }
.gantt-btn-add[b-icyvjh5hmr] {
  font-size: 11px; padding: 5px 12px; border-radius: 5px;
  border: 1.5px solid #1D9E75; background: #fff; color: #1D9E75;
  cursor: pointer; font-family: inherit; font-weight: 600;
}
.gantt-btn-add:hover[b-icyvjh5hmr] { background: #1D9E75; color: #fff; }
.gantt-summary-bar[b-icyvjh5hmr] { font-size: 12px; font-weight: 700; color: #1D9E75; letter-spacing: .01em; }

.gantt-legend[b-icyvjh5hmr] { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1rem; align-items: center; }
.gantt-leg[b-icyvjh5hmr] {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 500; color: var(--color-text-secondary, #5A6474);
  background: var(--color-background-secondary, #F5F7FA);
  border: 1px solid var(--color-border-tertiary, #DDE1E7);
  border-radius: 20px; padding: 3px 9px;
}
.gantt-sw[b-icyvjh5hmr] { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }

.gantt-scroll[b-icyvjh5hmr] { overflow-x: auto; border: 1px solid var(--color-border-secondary, #C8CDD5); border-radius: 6px; }
.gantt-scroll table[b-icyvjh5hmr] { border-collapse: collapse; }

.gantt-col-unit[b-icyvjh5hmr] {
  white-space: nowrap; padding: 3px 8px; font-size: 11px; font-weight: 600;
  position: sticky; left: 0; background: #fff; z-index: 2;
  border-right: 1px solid var(--color-border-tertiary, #DDE1E7);
  min-width: 68px; max-width: 68px;
}
.gantt-col-client[b-icyvjh5hmr] {
  white-space: nowrap; padding: 3px 10px; font-size: 11px; font-weight: 500;
  position: sticky; left: 68px; background: #fff; z-index: 2;
  border-right: 2px solid var(--color-border-secondary, #C8CDD5);
  min-width: 140px; max-width: 140px; overflow: hidden; text-overflow: ellipsis;
}
.gantt-col-basin[b-icyvjh5hmr] {
  white-space: nowrap; padding: 3px 8px; font-size: 11px; font-weight: 500;
  min-width: 102px; max-width: 102px;
  border-right: 1px solid var(--color-border-tertiary, #DDE1E7);
}
.gantt-col-ppd[b-icyvjh5hmr]    { min-width: 90px; max-width: 90px; border-right: 1px solid var(--color-border-tertiary, #DDE1E7); }
.gantt-col-eff[b-icyvjh5hmr]    { min-width: 58px; max-width: 58px; text-align: center; border-right: 1px solid var(--color-border-tertiary, #DDE1E7); }
.gantt-col-avglen[b-icyvjh5hmr] { min-width: 64px; max-width: 64px; text-align: center; border-right: 1px solid var(--color-border-tertiary, #DDE1E7); }
.gantt-col-curend[b-icyvjh5hmr] { min-width: 90px; max-width: 90px; border-right: 1px solid var(--color-border-tertiary, #DDE1E7); }
.gantt-col-start[b-icyvjh5hmr]  { min-width: 96px; max-width: 96px; border-right: 1px solid var(--color-border-tertiary, #DDE1E7); }
.gantt-col-end[b-icyvjh5hmr]    { min-width: 96px; max-width: 96px; border-right: 2px solid var(--color-border-secondary, #C8CDD5); }

.gantt-bhdr[b-icyvjh5hmr] {
  font-size: 10px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 10px; background: #0D1F35; position: sticky; left: 0; z-index: 2;
}

.gantt-mhdr[b-icyvjh5hmr] { font-size: 10px; font-weight: 600; padding: 3px 6px; text-align: left; letter-spacing: .02em; }
.gantt-dhdr[b-icyvjh5hmr] { font-size: 8px; color: var(--color-text-secondary, #5A6474); text-align: center; min-width: 13px; max-width: 13px; width: 13px; padding: 1px 0; }
.gantt-dc[b-icyvjh5hmr]   { min-width: 13px; max-width: 13px; width: 13px; height: 15px; }

.gantt-tlbl[b-icyvjh5hmr] {
  font-size: 11px; font-weight: 600; color: var(--color-text-secondary, #5A6474);
  padding: 4px 10px; position: sticky; left: 0; background: var(--color-background-secondary, #F5F7FA); z-index: 2;
  border-right: 1px solid var(--color-border-tertiary, #DDE1E7);
  border-top: 2px solid var(--color-border-secondary, #C8CDD5);
}
.gantt-tc[b-icyvjh5hmr] {
  min-width: 13px; max-width: 13px; width: 13px; text-align: center; vertical-align: middle;
  writing-mode: vertical-rl; transform: rotate(180deg);
  border-top: 2px solid var(--color-border-secondary, #C8CDD5); font-size: 14px;
}
.gantt-jlbl[b-icyvjh5hmr] {
  font-size: 11px; font-weight: 600; color: var(--color-text-secondary, #5A6474);
  padding: 4px 10px; position: sticky; left: 0; background: var(--color-background-secondary, #F5F7FA); z-index: 2;
  border-right: 1px solid var(--color-border-tertiary, #DDE1E7);
  border-top: 1px solid var(--color-border-tertiary, #DDE1E7);
}
.gantt-jc[b-icyvjh5hmr] { min-width: 13px; max-width: 13px; width: 13px; border-top: 1px solid var(--color-border-tertiary, #DDE1E7); }

.gantt-ms[b-icyvjh5hmr] { border-left: 1px solid rgba(128,128,128,.28) !important; }
.gantt-ws[b-icyvjh5hmr] { border-left: 0.5px solid rgba(128,128,128,.12) !important; }

.gantt-metric-hdr[b-icyvjh5hmr] {
  font-size: 10px; font-weight: 700; color: var(--color-text-secondary, #5A6474);
  padding: 4px 8px; background: var(--color-background-secondary, #F5F7FA);
  border-bottom: 1px solid var(--color-border-secondary, #C8CDD5);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-transform: uppercase; letter-spacing: .05em;
  user-select: none; cursor: pointer;
}
.gantt-metric-hdr:hover[b-icyvjh5hmr] { color: #1D9E75; }
.gantt-metric-val[b-icyvjh5hmr] { padding: 2px 5px; vertical-align: middle; }

.gantt-edit-in[b-icyvjh5hmr] {
  width: 100%;
  border: 1.5px solid var(--color-border-secondary, #C8CDD5);
  background: #fff; font-size: 11px; font-weight: 500;
  font-family: inherit; padding: 3px 7px; border-radius: 5px; outline: none;
}
.gantt-edit-in:hover[b-icyvjh5hmr]  { border-color: #1D9E75; }
.gantt-edit-in:focus[b-icyvjh5hmr]  { border-color: #1D9E75; box-shadow: 0 0 0 3px rgba(29,158,117,.18); }
.gantt-changed[b-icyvjh5hmr] {
  color: #B45309 !important; font-weight: 600;
  border-color: #F59E0B !important; background: rgba(245,158,11,.10) !important;
}
