/*-----UI----*/
.layout-bg {}
.sidebar-bg {background: #00172c;}
.sidebar-icon-text-color {}
.table-footer-bg {}

.content-title {}
.content-title-icon {}
.content-card-body {}

.card-footer {}
.card-footer:sm {}

.block-link-icon {}
.form-description-text {}
.form-description-head {}
.form-input {}
.form-label {}

/* ---- router or navigation links */
.router-link {}
.router-link:focus {}
.router-link.router-link-desktop {}
.router-link.router-link-mobile {}
.router-link.router-link-active, .router-link.router-link-exact-active {}
.router-link:not(.router-link-active), .router-link:not(.router-link-exact-active) {}
.router-link:not(.router-link-active):hover, .router-link:not(.router-link-exact-active):hover {}
.router-link:not(.router-link-active):focus, .router-link:not(.router-link-exact-active):focus {}

.btn {}
.btn:focus {}
.btn:disabled {}
.btn.btn-white {}
.btn.btn-white:not(:disabled):hover {}
.btn.btn-white:not(:disabled):focus {}
.btn.btn-blue {}
.btn.btn-blue:not(:disabled):hover {}
.btn.btn-blue:not(:disabled):active {}
.btn.btn-blue:not(:disabled):focus {}
.btn.btn-green {}
.btn.btn-green:not(:disabled):hover {}
.btn.btn-green:not(:disabled):active {}
.btn.btn-green:not(:disabled):focus {}
.btn.btn-yellow {}
.btn.btn-yellow:not(:disabled):hover {}
.btn.btn-yellow:not(:disabled):active {}
.btn.btn-yellow:not(:disabled):focus {}
.btn.btn-purple {}
.btn.btn-purple:not(:disabled):hover {}
.btn.btn-purple:not(:disabled):active {}
.btn.btn-purple:not(:disabled):focus {}
.btn.btn-red {}
.btn.btn-red:not(:disabled):hover {}
.btn.btn-red:not(:disabled):active {}
.btn.btn-red:not(:disabled):focus {}

.btn.btn-secondary {}
.btn.btn-secondary:not(:disabled):hover {}
.btn.btn-secondary:not(:disabled):active {}
.btn.btn-secondary:not(:disabled):focus {}

/* ----pagination-link------ */
.pagination-link {}
.pagination-link:not(:disabled):hover {}
.pagination-link:not(:disabled):focus {}
.pagination-link:not(:disabled):active {}
.velmld-overlay {}

.max-height-wrap {
  maxheight: "200px";
}

body.admin-theme-dark,
body.admin-theme-dark #app {
  background: #050913;
  color: #e7ecf8;
}

body.admin-theme-dark .layout-bg {
  background: #050913 !important;
}

body.admin-theme-dark .content-card-body,
body.admin-theme-dark .card-footer {
  border: 1px solid #202a46;
  background: #090e1b !important;
  color: #e7ecf8;
  box-shadow: none;
}

body.admin-theme-dark .bg-white {
  background-color: #090e1b !important;
}

body.admin-theme-dark .bg-gray-50,
body.admin-theme-dark .table-footer-bg {
  background-color: #111729 !important;
}

body.admin-theme-dark .text-gray-900,
body.admin-theme-dark .text-gray-800,
body.admin-theme-dark .text-gray-700,
body.admin-theme-dark .content-title,
body.admin-theme-dark .form-description-head {
  color: #f4f7ff !important;
}

body.admin-theme-dark .text-gray-600,
body.admin-theme-dark .text-gray-500,
body.admin-theme-dark .text-gray-400,
body.admin-theme-dark .form-description-text,
body.admin-theme-dark .form-label,
body.admin-theme-dark .content-title-icon {
  color: #7486bf !important;
}

body.admin-theme-dark .form-input,
body.admin-theme-dark input,
body.admin-theme-dark select,
body.admin-theme-dark textarea {
  border-color: #283963 !important;
  background-color: #111724 !important;
  color: #e7ecf8 !important;
}

body.admin-theme-dark input::placeholder,
body.admin-theme-dark textarea::placeholder {
  color: #52628f !important;
}

body.admin-theme-dark .btn.btn-white,
body.admin-theme-dark .pagination-link {
  border-color: #2a3a62 !important;
  background: #0c111d !important;
  color: #f4f7ff !important;
}

body.admin-theme-dark .sidebar-bg {
  background: #050913 !important;
  border-right: 1px solid #202a46;
}

body.admin-theme-dark .router-link.router-link-active,
body.admin-theme-dark .router-link.router-link-exact-active,
body.admin-theme-dark .router-link:hover {
  background: #111729 !important;
  color: #fff !important;
}

body.admin-theme-dark table th {
  border-color: #202a46 !important;
  background: #111729 !important;
  color: #65739d !important;
}

body.admin-theme-dark table td {
  border-color: #202a46 !important;
  color: #dce4f4 !important;
}

body.admin-theme-dark .divide-gray-200 > :not([hidden]) ~ :not([hidden]),
body.admin-theme-dark .divide-gray-100 > :not([hidden]) ~ :not([hidden]),
body.admin-theme-dark .border,
body.admin-theme-dark .border-gray-200,
body.admin-theme-dark .border-gray-100 {
  border-color: #202a46 !important;
}



/* ---scrollbar--- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background: #a8a6a8;
  border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
  background: #878587;
}

::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 0px;
  box-shadow: inset 0px 0px 0px 0px #f0f0f0;
}


@media print {
  .hide-in-print-screen {
    display: none;
  }
}
.product-filters-grid .grid {
    display: flex !important;
}

.manage-jobs-link.router-link,
.manage-jobs-group .manage-jobs-link.router-link {
  display: flex;
  align-items: center;
  padding-left: 2rem;
}

.manage-jobs-group {
  margin-bottom: 0.25rem;
}

.manage-jobs-link.router-link::before,
.manage-jobs-group .manage-jobs-link.router-link::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-right: 0.8rem;
  border: 2px solid currentColor;
  border-radius: 3px;
  opacity: 0.8;
}

.technician-readonly-value {
  margin-top: 0.25rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  padding: 0.5rem 0.75rem;
  color: #111827;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.technician-readonly-value--plain {
  min-height: auto;
  border: 0;
  background: transparent;
  padding: 0.25rem 0 0;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .admin-customer-service-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .admin-customer-service-detail-grid > .content-card-body,
  .admin-customer-service-detail-grid > .space-y-6 {
    grid-column: auto !important;
  }

  .admin-customer-service-detail-grid > .space-y-6:nth-of-type(3) {
    grid-column: 1 / -1 !important;
  }

  .technician-customer-detail-grid {
    grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr) !important;
  }

  .technician-customer-detail-grid > .content-card-body {
    grid-column: auto !important;
  }
}

.technician-job-management-form {
  align-items: start;
}

.technician-job-group {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 1rem;
}

.technician-job-group-title {
  margin: -1rem -1rem 1rem;
  color: #111827;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.8rem 1rem;
}

.technician-job-group:not(.technician-job-group--customer) {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.technician-job-group > .technician-job-group-title,
.technician-job-group > .md\:col-span-2 {
  grid-column: 1 / -1;
}

.technician-job-group--customer .technician-job-group-title {
  background: #eef2ff;
  color: #4338ca;
}

.technician-job-group--service .technician-job-group-title {
  background: #ecfeff;
  color: #0e7490;
}

.technician-job-group--status .technician-job-group-title {
  background: #fff7ed;
  color: #c2410c;
}

.technician-job-group--items .technician-job-group-title {
  background: #f0fdf4;
  color: #15803d;
}

.technician-job-group--parts .technician-job-group-title {
  background: #f5f3ff;
  color: #6d28d9;
}

.technician-job-group--request-parts .technician-job-group-title {
  background: #eff6ff;
  color: #1d4ed8;
}

.job-parts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  grid-column: 1 / -1;
  margin-bottom: 0.75rem;
}

.job-parts-mount,
.request-parts-mount,
.job-parts-table-wrap,
.request-parts-table-wrap {
  grid-column: 1 / -1;
}

.job-parts-table-wrap,
.request-parts-table-wrap {
  overflow-x: auto;
}

.job-parts-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 0.875rem;
}

.job-parts-table th,
.job-parts-table td {
  border: 1px solid #e5e7eb;
  padding: 0.625rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.job-parts-table th {
  background: #f9fafb;
  color: #4b5563;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.job-parts-request-table {
  min-width: 1180px;
}

.job-parts-request-table .form-input {
  min-width: 8.5rem;
  font-size: 0.8125rem;
  padding: 0.45rem 0.55rem;
}

.job-parts-request-table input[type="number"] {
  min-width: 5rem;
}

.job-part-request-row td {
  background: #fbfdff;
}

.job-parts-empty {
  color: #6b7280;
  font-size: 0.875rem;
  padding: 0.9rem;
  text-align: center;
}

.job-parts-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 24, 39, 0.55);
  padding: 1rem;
}

.job-parts-modal.hidden {
  display: none;
}

.job-parts-modal-panel {
  width: min(760px, 100%);
  max-height: 85vh;
  overflow: hidden;
  border: 1px solid #d1d5db;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.28);
}

.job-parts-modal-head,
.job-parts-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.job-parts-modal-head {
  border-bottom: 1px solid #e5e7eb;
}

.job-parts-modal-head h3 {
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
}

.job-parts-modal-foot {
  border-top: 1px solid #e5e7eb;
}

.job-parts-search {
  margin: 1rem;
  width: calc(100% - 2rem);
}

.job-parts-modal-list {
  max-height: 48vh;
  overflow-y: auto;
  padding: 0 1rem 1rem;
}

.job-parts-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 0.75rem;
}

.job-parts-option + .job-parts-option {
  border-top: 0;
}

.job-parts-option input {
  margin-top: 0.2rem;
}

.job-parts-option strong,
.job-parts-option small {
  display: block;
}

.job-parts-option strong {
  color: #111827;
  font-weight: 700;
}

.job-parts-option small {
  margin-top: 0.15rem;
  color: #6b7280;
}

.job-parts-option input:disabled + span {
  opacity: 0.68;
}

.job-parts-stock,
.job-parts-out-stock {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
}

.job-parts-stock {
  color: #15803d;
}

.job-parts-out-stock {
  color: #dc2626;
}

.technician-job-group--items.admin-items-editable-table {
  overflow: hidden;
}

.technician-job-group--items.admin-items-editable-table > .md\:col-span-2 {
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.technician-job-group--items.admin-items-editable-table > .md\:col-span-2 > .mb-3 {
  box-sizing: border-box;
  min-width: 980px;
  margin-bottom: 0;
  border: 1px solid #d1d5db;
  border-bottom: 0;
  background: #f9fafb;
  padding: 0.75rem;
}

.technician-job-group--items.admin-items-editable-table .admin-items-table-header {
  box-sizing: border-box;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 150px 150px 150px 150px 110px 170px 92px;
  min-width: 980px;
  border: 1px solid #d1d5db;
  border-bottom: 0;
  background: #f9fafb;
  padding: 0.75rem 1rem;
  color: #4b5563;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.technician-job-group--items.admin-items-editable-table .admin-items-table-header + .mb-4 {
  margin-top: 0;
}

.technician-job-group--items.admin-items-editable-table .rounded.border {
  box-sizing: border-box;
  display: grid !important;
  gap: 0.75rem !important;
  grid-template-columns: 150px 150px 150px 150px 110px 170px 92px !important;
  align-items: end;
  min-width: 980px;
  margin-bottom: 0;
  border-color: #d1d5db;
  border-radius: 0;
  border-bottom-width: 0;
  background: #ffffff;
}

.technician-job-group--items.admin-items-editable-table .rounded.border:last-of-type {
  border-bottom-width: 1px;
}

.technician-job-group--items.admin-items-editable-table .rounded.border .form-label {
  display: none;
  min-height: 1.75rem;
  color: #4b5563;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.technician-job-group--items.admin-items-editable-table .rounded.border .form-input {
  width: 100%;
  min-width: 0;
}

.technician-job-group--items.admin-items-editable-table .admin-item-action-cell {
  display: flex;
  align-items: end;
}

.technician-job-group--items.admin-items-editable-table .admin-item-action-cell .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0 !important;
}

@media (max-width: 1023px) {
  .technician-job-group--items.admin-items-editable-table > .md\:col-span-2 {
    overflow-x: visible;
  }

  .technician-job-group--items.admin-items-editable-table > .md\:col-span-2 > .mb-3,
  .technician-job-group--items.admin-items-editable-table .rounded.border {
    min-width: 0;
  }

  .technician-job-group--items.admin-items-editable-table .admin-items-table-header {
    display: none;
  }

  .technician-job-group--items.admin-items-editable-table .rounded.border {
    grid-template-columns: 1fr !important;
  }

  .technician-job-group--items.admin-items-editable-table .rounded.border .form-label {
    display: block;
  }
}

.technician-job-group--schedule .technician-job-group-title {
  background: #fdf2f8;
  color: #be185d;
}

.technician-job-group--standby .technician-job-group-title {
  background: #eff6ff;
  color: #1d4ed8;
}

.technician-job-group--status {
  grid-template-columns: 1fr !important;
}

.technician-job-group--status > div {
  grid-column: 1 / -1;
}

.technician-square-check {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 4.25rem;
  width: 100%;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  padding: 0.85rem 1rem;
  text-align: left;
}

.technician-square-check span {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #6b7280;
  background: #ffffff;
  flex: 0 0 auto;
}

.technician-square-check.is-active {
  border-color: #2563eb;
  background: #eff6ff;
}

.technician-square-check.is-active span {
  border-color: #2563eb;
  background: #2563eb;
}

.technician-square-check.is-active span::after {
  content: "";
  width: 0.55rem;
  height: 0.95rem;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.technician-standby-select-wrap {
  grid-column: 1 / -1;
}

.technician-info-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.technician-info-row span {
  display: block;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.technician-info-row strong {
  display: block;
  margin-top: 0.2rem;
  color: #111827;
  font-size: 0.875rem;
  font-weight: 600;
  word-break: break-word;
}

.technician-status-buttons {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  margin-top: 0.25rem;
}

.technician-status-button {
  min-height: 4rem;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.15;
  padding: 0.5rem;
  text-align: center;
  text-transform: uppercase;
}

.technician-status-button:hover,
.technician-status-button:focus {
  border-color: #2563eb;
  color: #1d4ed8;
  outline: none;
}

.technician-status-button.is-active {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
}

@media (max-width: 767px) {
  .technician-job-group:not(.technician-job-group--customer),
  .technician-info-grid {
    grid-template-columns: 1fr;
  }
}

.technician-items-table-wrap {
  margin-top: 0.75rem;
  overflow-x: auto;
}

.technician-items-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  font-size: 0.875rem;
}

.technician-items-table th,
.technician-items-table td {
  border: 1px solid #e5e7eb;
  padding: 0.625rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.technician-items-table th {
  background: #f9fafb;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.technician-items-table td {
  color: #111827;
}

/* Technician dark control panel */
body.technician-dark-panel {
  background: #050713;
  color: #eef2ff;
}

body.technician-dark-panel #app {
  background: #050713;
  min-height: 100vh;
}

body.technician-dark-panel .layout-bg,
body.technician-dark-panel .min-h-screen {
  background: #050713;
}

body.technician-dark-panel .sidebar-bg {
  background: #0d1020;
  border-right: 1px solid #242943;
}

body.technician-dark-panel .sidebar-bg a.text-lg {
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.technician-dark-panel header,
body.technician-dark-panel .bg-white.shadow {
  background: #0a0d18 !important;
  border-bottom: 1px solid #242943;
  box-shadow: none !important;
}

body.technician-dark-panel main {
  background: #050713;
}

body.technician-dark-panel .router-link {
  color: #8b95c9;
  border-left: 3px solid transparent;
}

body.technician-dark-panel .router-link.router-link-active,
body.technician-dark-panel .router-link.router-link-exact-active {
  background: #1b1c37;
  border-left-color: #7567ff;
  color: #ffffff;
}

body.technician-dark-panel .router-link:not(.router-link-active):hover,
body.technician-dark-panel .router-link:not(.router-link-exact-active):hover {
  background: #12162a;
  color: #ffffff;
}

body.technician-dark-panel .content-title {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(117, 103, 255, 0.25);
}

body.technician-dark-panel .content-title-icon {
  background: #191b34;
  color: #7567ff;
}

body.technician-dark-panel .content-card-body,
body.technician-dark-panel .technician-job-group {
  background: #0d101d;
  border: 1px solid #262b46;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

body.technician-dark-panel .technician-job-group {
  background: #101320;
}

body.technician-dark-panel .form-description-head,
body.technician-dark-panel .technician-job-group-title {
  color: #ffffff;
}

body.technician-dark-panel .technician-job-group--customer .technician-job-group-title {
  background: rgba(117, 103, 255, 0.18);
  color: #b9b3ff;
}

body.technician-dark-panel .technician-job-group--service .technician-job-group-title {
  background: rgba(0, 212, 255, 0.14);
  color: #67e8f9;
}

body.technician-dark-panel .technician-job-group--status .technician-job-group-title {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}

body.technician-dark-panel .technician-job-group--items .technician-job-group-title {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
}

body.technician-dark-panel .technician-job-group--items.admin-items-editable-table > .md\:col-span-2 > .mb-3,
body.technician-dark-panel .technician-job-group--items.admin-items-editable-table .admin-items-table-header {
  background: #11162a;
  border-color: #262b46;
  color: #818cc4;
}

body.technician-dark-panel .technician-job-group--items.admin-items-editable-table .rounded.border {
  background: #0d101d;
  border-color: #262b46;
}

body.technician-dark-panel .technician-job-group--items.admin-items-editable-table .rounded.border .form-label {
  color: #818cc4;
}

body.technician-dark-panel .technician-job-group--items.admin-items-editable-table .admin-item-action-cell {
  background: transparent;
}

body.technician-dark-panel .technician-job-group--parts .technician-job-group-title {
  background: rgba(139, 92, 246, 0.16);
  color: #c4b5fd;
}

body.technician-dark-panel .technician-job-group--request-parts .technician-job-group-title {
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
}

body.technician-dark-panel .technician-job-group--schedule .technician-job-group-title {
  background: rgba(236, 72, 153, 0.16);
  color: #f472b6;
}

body.technician-dark-panel .technician-job-group--standby .technician-job-group-title {
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
}

body.technician-dark-panel .form-label,
body.technician-dark-panel .technician-info-row span {
  color: #818cc4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.technician-dark-panel .form-input,
body.technician-dark-panel input,
body.technician-dark-panel select,
body.technician-dark-panel textarea {
  background: #090c18;
  border-color: #2a3152;
  color: #f8fafc;
  border-radius: 8px;
}

body.technician-dark-panel .form-input:focus,
body.technician-dark-panel input:focus,
body.technician-dark-panel select:focus,
body.technician-dark-panel textarea:focus {
  border-color: #7567ff;
  box-shadow: 0 0 0 2px rgba(117, 103, 255, 0.24);
  outline: none;
}

body.technician-dark-panel .text-gray-500,
body.technician-dark-panel .text-gray-600,
body.technician-dark-panel .text-gray-700 {
  color: #8b95c9 !important;
}

body.technician-dark-panel .text-gray-900,
body.technician-dark-panel .font-medium,
body.technician-dark-panel .font-semibold,
body.technician-dark-panel .technician-info-row strong {
  color: #ffffff !important;
}

body.technician-dark-panel .btn.btn-white,
body.technician-dark-panel .pagination-link {
  background: #12162a;
  border: 1px solid #30375c;
  color: #ffffff;
}

body.technician-dark-panel .btn.btn-white:hover,
body.technician-dark-panel .pagination-link:hover {
  background: #1b2140;
  border-color: #7567ff;
}

body.technician-dark-panel .btn.btn-app,
body.technician-dark-panel .btn.btn-blue {
  background: #7567ff;
  border-color: #7567ff;
  color: #ffffff;
}

body.technician-dark-panel .technician-readonly-value {
  background: #090c18;
  border-color: #2a3152;
  color: #ffffff;
  border-radius: 8px;
}

body.technician-dark-panel .technician-readonly-value--plain {
  background: transparent;
  color: #ffffff;
}

body.technician-dark-panel .technician-status-button {
  background: #10162a;
  border-color: #30375c;
  color: #dbe4ff;
  border-radius: 10px;
}

body.technician-dark-panel .technician-status-button:hover,
body.technician-dark-panel .technician-status-button:focus {
  border-color: #00d4ff;
  color: #00d4ff;
}

body.technician-dark-panel .technician-status-button.is-active {
  background: linear-gradient(135deg, #7567ff, #00d4ff);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.22);
}

body.technician-dark-panel .technician-square-check {
  background: #10162a;
  border-color: #30375c;
  color: #ffffff;
}

body.technician-dark-panel .technician-square-check span {
  background: #090c18;
  border-color: #818cc4;
}

body.technician-dark-panel .technician-square-check.is-active {
  background: rgba(59, 130, 246, 0.16);
  border-color: #60a5fa;
}

body.technician-dark-panel .technician-square-check.is-active span {
  background: #60a5fa;
  border-color: #60a5fa;
}

body.technician-dark-panel .technician-items-table {
  background: #0d101d;
}

body.technician-dark-panel .job-parts-table,
body.technician-dark-panel .job-parts-modal-panel {
  background: #0d101d;
}

body.technician-dark-panel .technician-job-group--request-parts {
  background: #0f1424;
  border-color: #26385f;
}

body.technician-dark-panel .request-parts-table-wrap {
  border: 1px solid #26385f;
  border-radius: 10px;
  background: #0a0f1d;
}

body.technician-dark-panel .job-part-request-row td {
  background: #0f1729;
}

body.technician-dark-panel .job-parts-request-table .form-input {
  background: #090c18;
  border-color: #2f3e66;
  color: #f8fafc;
}

body.technician-dark-panel .job-parts-request-table .form-input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.18);
}

body.technician-dark-panel .technician-items-table th {
  background: #11162a;
  border-color: #262b46;
  color: #818cc4;
}

body.technician-dark-panel .job-parts-table th {
  background: #11162a;
  border-color: #262b46;
  color: #818cc4;
}

body.technician-dark-panel .technician-items-table td {
  border-color: #262b46;
  color: #ffffff;
}

body.technician-dark-panel .job-parts-table td,
body.technician-dark-panel .job-parts-option,
body.technician-dark-panel .job-parts-modal-head,
body.technician-dark-panel .job-parts-modal-foot {
  border-color: #262b46;
  color: #ffffff;
}

body.technician-dark-panel .job-parts-option strong,
body.technician-dark-panel .job-parts-modal-head h3 {
  color: #ffffff;
}

body.technician-dark-panel .job-parts-option small,
body.technician-dark-panel .job-parts-empty {
  color: #818cc4;
}

body.technician-dark-panel .job-parts-stock {
  color: #86efac;
}

body.technician-dark-panel .job-parts-out-stock {
  color: #fca5a5;
}

body.technician-dark-panel table.min-w-full thead,
body.technician-dark-panel .bg-gray-50 {
  background: #11162a !important;
}

body.technician-dark-panel table.min-w-full tbody,
body.technician-dark-panel .bg-white {
  background: #0d101d !important;
}

body.technician-dark-panel table.min-w-full th {
  color: #818cc4 !important;
}

body.technician-dark-panel table.min-w-full td,
body.technician-dark-panel .divide-y > * {
  border-color: #262b46 !important;
}

body.technician-dark-panel .rounded,
body.technician-dark-panel .border {
  border-color: #262b46 !important;
}

body.technician-dark-panel ::-webkit-scrollbar-track {
  background: #070a14;
}

body.technician-dark-panel ::-webkit-scrollbar-thumb {
  background: #30375c;
}

body.technician-dark-panel .technician-history-card {
  overflow: hidden;
  padding: 0 !important;
  background: #07101f !important;
  border-color: #17325a !important;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(68, 148, 220, 0.08);
}

.technician-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: #10264b;
  border-bottom: 1px solid #18345b;
}

.technician-history-title-wrap {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.85rem;
}

.technician-history-title-wrap .form-description-head {
  margin: 0;
  color: #eef6ff !important;
  font-size: 1rem;
  line-height: 1.35;
}

.technician-history-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(57, 135, 214, 0.25);
  color: #5bbcff;
  font-size: 1.2rem;
}

.technician-history-count {
  flex: 0 0 auto;
  border: 1px solid rgba(91, 188, 255, 0.42);
  border-radius: 999px;
  background: rgba(44, 119, 188, 0.28);
  color: #b9e4ff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.55rem 0.8rem;
  white-space: nowrap;
}

.technician-history-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #17243d;
  background: #070d1c;
}

.technician-history-stat {
  min-width: 0;
  border-right: 1px solid #17243d;
  padding: 0.8rem 0.35rem 0.9rem;
  text-align: center;
}

.technician-history-stat:last-child {
  border-right: 0;
}

.technician-history-stat strong {
  display: block;
  color: #52b7ff;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.technician-history-stat span {
  display: block;
  margin-top: 0.35rem;
  color: #69769e;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.technician-history-stat--pending strong {
  color: #f7d74f;
}

.technician-history-stat--assigned strong {
  color: #a673ff;
}

.technician-history-stat--done strong {
  color: #54d98f;
}

.technician-history-tabs {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.8rem 1.25rem;
  background: #070d1c;
  border-bottom: 1px solid #17243d;
}

.technician-history-tabs button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #667394;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.5rem 0.7rem;
}

.technician-history-tabs button.is-active {
  border: 1px solid rgba(91, 188, 255, 0.55);
  background: rgba(44, 119, 188, 0.28);
  color: #b9e4ff;
}

.technician-history-list {
  max-height: 520px;
  overflow-y: auto;
  padding: 1.25rem 1.5rem 1rem;
}

.technician-history-entry {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  position: relative;
}

.technician-history-entry:not(:last-child) {
  padding-bottom: 1.05rem;
}

.technician-history-entry::before {
  content: "";
  position: absolute;
  top: 2.3rem;
  bottom: 0.2rem;
  left: 1.15rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(82, 183, 255, 0.65), rgba(82, 183, 255, 0));
}

.technician-history-entry--pending::before {
  background: linear-gradient(to bottom, rgba(247, 215, 79, 0.65), rgba(247, 215, 79, 0));
}

.technician-history-entry--assigned::before {
  background: linear-gradient(to bottom, rgba(166, 115, 255, 0.65), rgba(166, 115, 255, 0));
}

.technician-history-entry--done::before {
  background: linear-gradient(to bottom, rgba(84, 217, 143, 0.65), rgba(84, 217, 143, 0));
}

.technician-history-marker {
  position: relative;
  z-index: 1;
  padding-top: 0.15rem;
}

.technician-history-marker span {
  width: 2.3rem;
  height: 2.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #52b7ff;
  border-radius: 999px;
  background: #0c1424;
  color: #9bd8ff;
  font-size: 0.72rem;
  font-weight: 900;
}

.technician-history-entry--pending .technician-history-marker span {
  border-color: #f7d74f;
  color: #f7d74f;
}

.technician-history-entry--assigned .technician-history-marker span {
  border-color: #a673ff;
  color: #c5a5ff;
}

.technician-history-entry--done .technician-history-marker span {
  border-color: #54d98f;
  color: #9af0bd;
}

.technician-history-item {
  min-width: 0;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 12px;
  background: #101a2d;
  padding: 0.95rem 1rem;
  box-shadow: inset 0 0 0 1px rgba(120, 164, 255, 0.04);
}

.technician-history-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
}

.technician-history-status,
.technician-history-chip {
  border: 1px solid rgba(91, 188, 255, 0.32);
  border-radius: 7px;
  background: rgba(59, 130, 246, 0.16);
  color: #8fd2ff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.38rem 0.6rem;
}

.technician-history-chip {
  color: #9bd8ff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.technician-history-entry--pending .technician-history-status {
  border-color: rgba(247, 215, 79, 0.32);
  background: rgba(247, 215, 79, 0.12);
  color: #f7d74f;
}

.technician-history-entry--assigned .technician-history-status {
  border-color: rgba(166, 115, 255, 0.32);
  background: rgba(166, 115, 255, 0.14);
  color: #c5a5ff;
}

.technician-history-entry--done .technician-history-status {
  border-color: rgba(84, 217, 143, 0.32);
  background: rgba(84, 217, 143, 0.12);
  color: #9af0bd;
}

.technician-history-main {
  color: #b9d7f2;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.technician-history-entry--pending .technician-history-main {
  color: #f3d95f;
}

.technician-history-entry--assigned .technician-history-main {
  color: #b58cff;
}

.technician-history-entry--done .technician-history-main {
  color: #8ce8b1;
}

.technician-history-comment {
  margin-top: 0.55rem;
  color: #8ea1c2;
  font-size: 0.84rem;
  line-height: 1.45;
}

.technician-history-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.9rem;
  color: #8091b3;
  font-size: 0.85rem;
}

.technician-history-meta time {
  color: #465676;
  white-space: nowrap;
}

.technician-history-avatar {
  width: 1.65rem;
  height: 1.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #308dd7;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 900;
}

.technician-history-entry--pending .technician-history-avatar {
  background: #218f8d;
}

.technician-history-entry--assigned .technician-history-avatar {
  background: #7c4de0;
}

.technician-history-entry--done .technician-history-avatar {
  background: #2fb46f;
}

.technician-history-empty {
  padding: 1.4rem;
  text-align: center;
  color: #6d7897;
  font-size: 0.9rem;
}

.technician-history-more {
  width: 100%;
  border: 0;
  border-top: 1px solid #17243d;
  background: #080e1c;
  color: #52627f;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 1rem;
}

.technician-history-more:hover {
  color: #9bd8ff;
}

@media (max-width: 640px) {
  .technician-history-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem;
  }

  .technician-history-title-wrap .form-description-head {
    font-size: 0.94rem;
  }

  .technician-history-count {
    align-self: flex-start;
  }

  .technician-history-stat span {
    font-size: 0.58rem;
  }

  .technician-history-tabs {
    gap: 0.5rem;
    padding: 0.75rem 0.85rem;
  }

  .technician-history-tabs button {
    font-size: 0.78rem;
    padding: 0.46rem 0.58rem;
  }

  .technician-history-list {
    padding: 1rem 0.85rem;
  }

  .technician-history-entry {
    grid-template-columns: 2.7rem minmax(0, 1fr);
  }

  .technician-history-entry::before {
    left: 1.05rem;
  }

  .technician-history-marker span {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.65rem;
  }

  .technician-history-meta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .technician-history-meta time {
    grid-column: 2;
  }
}

/* Stand By Machine pages: match classic admin sidebar theme */
body.standby-classic-panel {
  background: #f4f6fa;
  color: #0f172a;
}

body.standby-classic-panel .min-h-screen.md\:flex {
  background: #f4f6fa;
}

body.standby-classic-panel .sidebar-bg {
  width: 248px;
  background: #111827;
  border-right: 0;
}

body.standby-classic-panel .sidebar-bg .h-16 {
  height: 55px;
  background: #062338;
  border-bottom: 0;
}

body.standby-classic-panel .sidebar-bg a.text-lg {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.standby-classic-panel .sidebar-bg nav {
  padding-top: 0.75rem;
}

body.standby-classic-panel .sidebar-bg nav::before {
  content: "GENERAL";
  display: block;
  padding: 0.5rem 1rem 0.75rem;
  color: #ffffff;
  font-size: 0.75rem;
  text-transform: uppercase;
}

body.standby-classic-panel .router-link.router-link-desktop {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-left: 0;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.65rem 1rem;
}

body.standby-classic-panel .router-link.router-link-desktop::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 0.8rem;
  border: 2px solid #60a5fa;
  border-radius: 2px;
  box-sizing: border-box;
}

body.standby-classic-panel .router-link.router-link-active,
body.standby-classic-panel .router-link.router-link-exact-active,
body.standby-classic-panel .router-link.router-link-desktop:hover {
  background: #1f2a37;
  color: #ffffff;
}

body.standby-classic-panel header.bg-white {
  height: 55px;
  background: #ffffff !important;
  border-bottom: 4px solid #3478f6;
  box-shadow: none !important;
}

body.standby-classic-panel header .h-16 {
  height: 51px;
}

body.standby-classic-panel header .text-xs,
body.standby-classic-panel header .text-sm,
body.standby-classic-panel header .btn {
  display: none;
}

body.standby-classic-panel main {
  background: #f4f6fa;
  min-height: calc(100vh - 55px);
  padding: 1.75rem;
}

body.standby-classic-panel .content-title {
  color: #111827;
  font-size: 1.4rem;
  font-weight: 800;
}

body.standby-classic-panel .content-card-body {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

body.standby-classic-panel .form-label {
  color: #374151;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

body.standby-classic-panel .form-input {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 0;
  color: #111827;
}

body.standby-classic-panel .btn.btn-app {
  background: #3478f6;
  border-color: #3478f6;
  color: #ffffff;
  border-radius: 4px;
}

body.standby-classic-panel .btn.btn-white {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #111827;
  border-radius: 4px;
}

body.standby-classic-panel table.min-w-full th {
  background: #f9fafb;
  color: #6b7280;
}

body.standby-classic-panel table.min-w-full td {
  color: #374151;
}
.hover\:bg-gray-50:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(0 0 0);
}