﻿@charset "UTF-8";
:root {
  --search-height: 96px;
  --info-height: 60px;
  --total-sticky-height: calc(var(--search-height) + var(--info-height));
}

.grid-sticky-search {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.grid-sticky-search .card {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.grid-sticky-info {
  position: sticky;
  top: var(--search-height);
  z-index: 99;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.shared-grid-container {
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  overflow: visible;
  background: #ffffff;
}

.shared-grid-table-container {
  overflow-x: auto;
}

.shared-grid-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  table-layout: fixed;
}

.shared-grid-header-row {
  display: flex;
  background: #f8fafc;
  border-bottom: 2px solid #e5e7eb;
  position: sticky;
  top: var(--total-sticky-height, 156px);
  z-index: 98;
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}

.shared-grid-header-cell {
  color: #1e293b;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
  white-space: nowrap;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  flex: 1;
}

.shared-grid-header-cell:last-child {
  text-align: right;
}

.shared-grid-header-cell.sortable {
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease;
}

.shared-grid-header-cell.sortable:hover {
  background: rgba(59, 130, 246, 0.1);
}

.shared-grid-table thead {
  display: none;
}

.shared-grid-table tbody tr {
  transition: all 0.15s ease-in-out;
  border-bottom: 1px solid #e5e7eb;
}

.shared-grid-table tbody tr:hover {
  background-color: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.shared-grid-table tbody tr:last-child {
  border-bottom: none;
}

.shared-grid-table tbody td {
  padding: 0.5rem 1rem;
  color: #374151;
  vertical-align: middle;
}

.shared-grid-table tbody td:last-child {
  text-align: right;
  white-space: nowrap;
}

.shared-grid-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

.shared-grid-empty-state i {
  color: #d1d5db;
  margin-bottom: 1rem;
}

.shared-grid-empty-state h5 {
  color: #374151;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.shared-grid-empty-state p {
  color: #6b7280;
  margin: 0;
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}
.loading-row {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

.shared-grid-info-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 2px solid #e2e8f0;
  padding: 0.625rem 1rem;
}

.shared-grid-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.shared-grid-title i {
  color: #3b82f6;
  font-size: 1rem;
}

.shared-grid-total-badge {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 0.125rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 0.25rem;
}

.shared-grid-pagination-info {
  color: #64748b;
  font-size: 0.75rem;
  margin-top: 0.125rem;
}

.shared-grid-sort-info {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.shared-grid-sort-info i {
  color: #1e293b;
  font-weight: bold;
  font-size: 0.875rem;
}

.required {
  font-weight: 600;
}

.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator {
  display: inline-block;
}

.locations-tree-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.locations-tree-node {
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background-color 0.2s;
  position: relative;
}

.locations-tree-node:hover {
  background-color: #f8f9fa;
}

.locations-tree-node.selected {
  background-color: #e3f2fd;
  color: #1976d2;
}

.locations-tree-node.selected > .locations-tree-content .add-child-btn {
  display: inline-block !important;
}

.locations-tree-toggle {
  font-size: 12px;
  transition: all 0.2s ease;
  display: inline-block;
  width: 16px;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.locations-tree-toggle::before {
  content: "▶";
  display: inline-block;
  transition: transform 0.2s ease;
}

.locations-tree-toggle.expanded::before {
  content: "▼";
  transform: rotate(0deg);
}

.locations-tree-content {
  min-height: 20px;
  padding: 2px 0;
}

.locations-tree-text {
  font-size: 14px;
}

.locations-tree-children {
  margin-left: 12px;
  position: relative;
}

.locations-tree-children::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #dee2e6;
}

.locations-tree-children .locations-tree-node:last-child::after {
  content: "";
  position: absolute;
  left: -6px;
  top: 0;
  height: 12px;
  width: 1px;
  background-color: #dee2e6;
}

.locations-tree-children .locations-tree-node::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 12px;
  width: 6px;
  height: 1px;
  background-color: #dee2e6;
}

.add-child-btn {
  opacity: 0;
  transition: opacity 0.2s;
}

.locations-tree-node.selected > .locations-tree-content .add-child-btn {
  opacity: 1;
}

.locations-tree-node.search-highlight {
  background-color: #fff3cd;
  border-left: 3px solid #ffc107;
  padding-left: 0.5rem;
  margin-left: -0.5rem;
  border-radius: 0.25rem;
}

.locations-tree-node.search-highlight .locations-tree-text {
  font-weight: 600;
  color: #856404;
}

.locations-tree-node.search-hidden {
  display: none !important;
}

.locations-tree-container {
  transition: all 0.3s ease-in-out;
}

.locations-container {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
}
.locations-container .locations-header {
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}
.locations-container .locations-header h3 {
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 0;
}
.locations-container .locations-header h3 i {
  color: #3b82f6;
  margin-right: 0.5rem;
}
.locations-container .row {
  flex: 1;
  display: flex;
  min-height: 0;
}
.locations-container .row .col-md-4, .locations-container .row .col-md-8 {
  display: flex;
  flex-direction: column;
}
.locations-container .row .col-md-4 .card, .locations-container .row .col-md-8 .card {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.locations-container .row .col-md-4 .card .card-body, .locations-container .row .col-md-8 .card .card-body {
  flex: 1;
  overflow-y: auto;
}

.locations-container .card-header {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 2px solid #e2e8f0;
  padding: 0.625rem 1rem;
}
.locations-container .card-header h5 {
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 0;
}
.locations-container .card-header .btn-outline-secondary {
  background-color: #f8f9fa;
  border-color: #dee2e6;
  color: #6c757d;
}
.locations-container .card-header .btn-outline-secondary:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
  color: #495057;
}
.locations-container .card-body {
  background: #ffffff;
}

#locationSearchInput {
  outline: none !important;
  box-shadow: none !important;
  border-color: #e2e8f0;
  background-color: #ffffff;
}
#locationSearchInput:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: #3b82f6;
  background-color: #ffffff;
}

@media (max-width: 768px) {
  :root {
    --search-height: 86px;
    --info-height: 50px;
  }
  .shared-grid-header-cell,
  .shared-grid-table tbody td {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }
  .shared-grid-header-cell:last-child {
    flex: 0 0 100px;
  }
  .shared-grid-info-section {
    padding: 0.5rem;
  }
  .shared-grid-title {
    font-size: 0.8125rem;
  }
  .shared-grid-pagination-info {
    font-size: 0.6875rem;
  }
}
.colored-toast.swal2-icon-success {
  background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
  background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
  background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
  background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
  background-color: #87adbd !important;
}

.colored-toast .swal2-title {
  color: #212529;
}

.colored-toast .swal2-close {
  color: #212529;
}

.colored-toast .swal2-html-container {
  color: #212529;
}

.launchpad-card {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  border: 1px solid #e5e7eb;
  cursor: pointer;
}

.launchpad-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.launchpad-card .card-header {
  border-bottom: 1px solid #e5e7eb;
}

.launchpad-card a {
  color: inherit;
}

.launchpad-card a:hover {
  color: inherit;
}

.launchpad-card {
  overflow: hidden;
}

.launchpad-gradient-top {
  height: 4px;
  width: 100%;
  border-radius: 4px 4px 0 0;
}

.launchpad-icon-container {
  width: 40px;
  height: 40px;
  background-color: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.single-segment-required {
  padding-top: 3rem;
  width: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  flex-direction: column;
}

.entity-action-btn {
  margin-left: 0.25rem;
  transition: all 0.15s ease;
}
.entity-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.entity-action-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

/*# sourceMappingURL=data:application/json;charset=utf-8,%7B%22version%22:3,%22sourceRoot%22:%22%22,%22sources%22:%5B%22file:///C:/Users/serhiyb/source/repos/WipIT/src/WipIT/wwwroot/wms/css/Wms.scss%22%5D,%22names%22:%5B%5D,%22mappings%22:%22;AAAC;EACG;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;IACI;;EAGJ;IACI;;;AAIR;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAIJ;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;EACA;;AAEA;EACI;EACA;EACA;;AAEA;EACI;EACA;;AAKZ;EACI;EACA;EACA;;AAEA;EACI;EACA;;AAEA;EACI;EACA;EACA;;AAEA;EACI;EACA;;;AAQhB;EACI;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAKZ;EACI;;;AAIR;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;;;AAIR;EACI;IACI;IACA;;EAGJ;AAAA;IAEI;IACA;;EAGJ;IACI;;EAGJ;IACI;;EAGJ;IACI;;EAGJ;IACI;;;AAKR;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACI;EACA;;AAEA;EACI;EACA;;AAGJ;EACI;EACA%22%7D */
.audit-item {
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.audit-item:hover {
  background-color: #f8f9fa;
}
.audit-item .badge {
  font-size: 0.85rem;
  padding: 0.35em 0.6em;
}

#auditDetails .card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: box-shadow 0.2s;
}
#auditDetails .card:hover {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}
#auditDetails .badge {
  font-weight: 500;
  font-size: 0.875rem;
}
#auditDetails .text-muted {
  color: #6c757d !important;
}
#auditDetails hr {
  border-color: #e0e0e0;
}

/*# sourceMappingURL=data:application/json;charset=utf-8,%7B%22version%22:3,%22sourceRoot%22:%22%22,%22sources%22:%5B%22file:///C:/Users/gcardenas/source/repos/WipIT/src/WipIT/wwwroot/css/Wms.scss%22%5D,%22names%22:%5B%5D,%22mappings%22:%22;AAAC;EACG;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;IACI;;EAGJ;IACI;;;AAIR;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAIJ;EACI;EACA;EACA;EACA;EACA;;;AAGJ;EACI;EACA;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;EACA;;AAEA;EACI;EACA;EACA;;AAEA;EACI;EACA;;AAKZ;EACI;EACA;EACA;;AAEA;EACI;EACA;;AAEA;EACI;EACA;EACA;;AAEA;EACI;EACA;;;AAQhB;EACI;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAEA;EACI;EACA;EACA;;AAKZ;EACI;;;AAIR;EACI;EACA;EACA;EACA;;AAEA;EACI;EACA;EACA;EACA;;;AAIR;EACI;IACI;IACA;;EAGJ;AAAA;IAEI;IACA;;EAGJ;IACI;;EAGJ;IACI;;EAGJ;IACI;;EAGJ;IACI;;;AAKR;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;;;AAGJ;EACI;EACA;;AAEA;EACI;;AAGJ;EACI;EACA;;;AAKJ;EACI;EACA;EACA;;AAEA;EACI;;AAIR;EACI;EACA;;AAGJ;EACI;;AAGJ;EACI%22%7D */