.s-site-logo-img {
  content: url('images/logo.png');
}

#LoginPanel .s-form-title-logo, #SignUpPanel .s-form-title-logo {
  background-color: white !important;
  height: 51px !important;
  width: 135px !important;
  border-radius: unset !important;
  margin-top: -10px;
}

.s-sidebar-header-branding .s-sidebar-header-logo {
  width: 90px !important;
  height: 34px !important;
}

.s-TranslationGrid input.custom-text {
  width: 100%;
  height: 23px;
  padding: 0 3px;
}

.s-PermissionCheckEditor {
  min-height: 450px;
}

.s-JobDialog .caption {
    width: 100px;
}

.s-JobDialog .btn-find-bill-to {
  margin-left: 110px;
}

.s-CompanyDialog .caption {
    width: 110px !important;
}

@media (min-width: 576px) {
  .s-JobLaborGridDialog,
  .s-JobMaterialGridDialog,
  .s-JobTruckingGridDialog {
    --bs-modal-width: 90% !important;
  }
}

  @media (min-width: 992px) {
    .s-JobLaborGridDialog .modal-lg, .modal-xl {
      --bs-modal-width: 1400px !important;
    }

    .s-JobMaterialGridDialog .modal-lg, .modal-xl {
      max-width: 840px;
    }

    .s-JobTruckingGridDialog .modal-lg, .modal-xl {
      --bs-modal-width: 515px !important;
    }
  }

  .slick-row.row-edited {
    background-color: #fff8dc;
  }

.s-JobLaborGridDialog .modal-body {
  min-height: 200px;
  height: 450px;
  overflow-y: auto;
}

.s-JobMaterialGridDialog .modal-body,
.s-JobTruckingGridDialog .modal-body {
  min-height: 200px;
  height: 350px;
  overflow-y: auto;
}

  .grid-container {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .grid-toolbar {
    padding: 6px;
    background: #f8f9fa;
    border-bottom: 1px solid #ccc;
  }

  .table-wrapper {
    flex: 1; /* 🔥 take remaining space */
    overflow-y: auto;
  }


  #grid {
    table-layout: fixed;
    border-collapse: collapse;
  }

    #grid thead {
      height: 40px;
      position: sticky;
      top: 0;
      background: #f5f5f5;
      z-index: 2;
    }

    #grid td,
    #grid th {
      padding: 5px 6px; /* keep text centered nicely */
      vertical-align: middle;
      box-sizing: border-box;
    }

    #grid td {
      white-space: normal;
      word-break: break-word; /* break very long words */
      overflow-wrap: anywhere; /* modern browsers */
      height: auto;
      vertical-align: middle;
    }

    #grid .cell-editor {
      width: 100%;
      height: 28px;
      font-size: 13px;
    }

    #grid td.editing {
      padding: 0;
    }

    #grid td.dirty {
      background-color: #fff3cd;
    }

  .tag-editor .tag {
    padding: 3px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 2px;
  }

  .tag-editor input {
    width: 100%;
    margin: 8px 0px;
  }

  .toggle-editor {
    position: relative;
  }

  .toggle-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #0a58ca;
    z-index: 50;
    max-height: 200px;
    overflow-y: auto;
  }

  .toggle-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 6px;
    cursor: pointer;
  }

    .toggle-item:hover {
      background: #f5f5f5;
    }

    .toggle-item.included .toggle {
      color: #c00; /* X */
    }

    .toggle-item.excluded .toggle {
      color: #090; /* + */
    }


  #grid.editing {
    opacity: 0.95;
  }

    #grid.editing td {
      vertical-align: top !important;
    }



  #grid tr td i {
    opacity: 0.95;
    cursor: pointer;
  }


  #grid.editing tr:not([data-id]) {
    pointer-events: none;
  }


.disable-btn {
  opacity: 0.5 !important;
}

  #grid .select2-container {
    width: 100%;
  }

  input.error {
    border: 1px solid #dc3545;
    background: #fff5f5;
  }

.modal-content .s-IntegerEditor {
  max-width: 100px;
}

.modal-content .s-CurrencyEditor {
  max-width: 120px;
}


.modal-content .s-IntegerEditor,
.modal-content .s-DecimalDigitsEditor {
  max-width: 62px;
  font-size: 12.5px;
}

.s-JobTruckingGridDialog .modal-content .s-IntegerEditor,
.s-JobTruckingGridDialog .modal-content .s-DecimalDigitsEditor {
  max-width: 90px;
}


.modal-content .s-DateMaskEditor {
  max-width: 95px;
}

td[data-field="Notes"] textarea {
  max-width: 210px;
}

td[data-field="MaterialDescription"] textarea {
  max-width: 210px;
}


td[data-field="Parts"] textarea {
  width: 120px !important;
}

.w-80 {
  width: 80px !important;
}

.w-100 {
    width: 100px !important;
}

.JobLinks .s-LookupEditor {
  width: 100% !important;
}

.find-job {
    display: flex;
}

.find-job label {
  width: 100px;
  text-align: right;
  margin-right: 0.7rem;
  padding-top: 5px;
}