@charset "UTF-8";
.entity-management-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}

.ag-grid-wrapper {
  flex: 1;
  width: 100%;
  height: 100%;
}

.ag-wrapper.ag-input-wrapper.ag-checkbox-input-wrapper {
  border-radius: 0 !important;
}

.white-text {
  color: white;
}

.motif-button-secondary:disabled {
  border-left-width: var(--btn-group--border-width);
}

.entity-alert-toolbar-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.entity-alert-toolbar-container .fixed-height-alerts {
  flex: 1;
  min-height: 60px;
  position: relative;
  min-width: 500px;
}
.entity-alert-toolbar-container .fixed-height-alerts::after {
  content: "";
  display: block;
  min-height: inherit;
}
.entity-alert-toolbar-container .entity-toolbar {
  justify-content: flex-end;
}

.entity-toolbar-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.entity-toolbar-separator {
  width: 0;
  height: 24px;
  border-left: 1px solid var(--color-border-default, #c3c3cb);
  align-self: center;
  flex-shrink: 0;
}

.entity-alerts-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.entity-alerts-container:empty {
  height: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
}
.entity-alerts-container:not(:empty) {
  max-height: fit-content;
  height: auto;
}
.entity-alerts-container .alert-banner {
  margin-bottom: 0.5rem;
  max-height: 2em;
  height: 2em;
  overflow: hidden;
}
.entity-alerts-container .alert-banner:last-of-type {
  margin-bottom: 0;
}
.entity-alerts-container .gradient-line {
  height: 0.8rem;
  width: 100%;
  background: linear-gradient(90deg, #666666 0%, #FFD320 50%, transparent 100%);
  border-radius: 0.1rem;
  opacity: 0.5;
  margin: 0.5rem 0;
}

.ag-theme-quartz .ag-cell.validation-error {
  background-color: rgba(255, 0, 0, 0.1) !important;
  border: 1px solid rgba(255, 0, 0, 0.3) !important;
  position: relative;
}
.ag-theme-quartz .ag-cell.validation-error::after {
  content: "⚠";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: #d32f2f;
  font-size: 14px;
  font-weight: bold;
  pointer-events: none;
}
.ag-theme-quartz .ag-tooltip.ag-tooltip-custom {
  background-color: #d32f2f;
  color: white;
  border: 1px solid #b71c1c;
  border-radius: 4px;
  padding: 8px 12px;
  max-width: 300px;
  font-size: 12px;
  line-height: 1.4;
}

.ag-row-stale {
  border-left: 3px solid var(--orange-04) !important;
  background-color: color-mix(in srgb, var(--orange-01) 15%, transparent) !important;
}.grid-header-top {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}
.grid-header-top .grid-header-title {
  margin: 0 !important;
}

.grid-header-alerts {
  margin-top: 10px;
  align-self: flex-start;
  max-width: 70%;
}

.grid-header-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 10px;
}

.grid-header {
  height: 100%;
}.alert-banner {
  width: 100%;
}.resize-handle {
  position: relative;
  flex-shrink: 0;
  z-index: 10;
}
.resize-handle.resize-handle-horizontal {
  width: 8px;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}
.resize-handle.resize-handle-horizontal:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
.resize-handle.resize-handle-horizontal:active {
  background-color: rgba(0, 0, 0, 0.08);
}
.resize-handle.resize-handle-horizontal .resize-handle-indicator {
  width: 3px;
  height: 40px;
  background-color: #ddd;
  border-radius: 2px;
  transition: background-color 0.2s;
}
.resize-handle.resize-handle-horizontal:hover .resize-handle-indicator {
  background-color: #bbb;
}
.resize-handle.resize-handle-horizontal:active .resize-handle-indicator {
  background-color: #999;
}
.resize-handle.resize-handle-vertical {
  height: 8px;
  cursor: ns-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}
.resize-handle.resize-handle-vertical:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
.resize-handle.resize-handle-vertical:active {
  background-color: rgba(0, 0, 0, 0.08);
}
.resize-handle.resize-handle-vertical .resize-handle-indicator {
  width: 40px;
  height: 3px;
  background-color: #ddd;
  border-radius: 2px;
  transition: background-color 0.2s;
}
.resize-handle.resize-handle-vertical:hover .resize-handle-indicator {
  background-color: #bbb;
}
.resize-handle.resize-handle-vertical:active .resize-handle-indicator {
  background-color: #999;
}

.b-theme-classic-dark .resize-handle.resize-handle-horizontal:hover, .b-theme-classic-dark .resize-handle.resize-handle-vertical:hover {
  background-color: rgba(255, 255, 255, 0.08);
}
.b-theme-classic-dark .resize-handle.resize-handle-horizontal:active, .b-theme-classic-dark .resize-handle.resize-handle-vertical:active {
  background-color: rgba(255, 255, 255, 0.12);
}
.b-theme-classic-dark .resize-handle.resize-handle-horizontal .resize-handle-indicator, .b-theme-classic-dark .resize-handle.resize-handle-vertical .resize-handle-indicator {
  background-color: #555;
}
.b-theme-classic-dark .resize-handle.resize-handle-horizontal:hover .resize-handle-indicator, .b-theme-classic-dark .resize-handle.resize-handle-vertical:hover .resize-handle-indicator {
  background-color: #777;
}
.b-theme-classic-dark .resize-handle.resize-handle-horizontal:active .resize-handle-indicator, .b-theme-classic-dark .resize-handle.resize-handle-vertical:active .resize-handle-indicator {
  background-color: #999;
}.history-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}
.history-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.history-modal-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  min-width: 600px;
  max-width: 92vw;
  background: var(--modal--bg-color);
  box-shadow: var(--modal--box-shadow);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  z-index: 1051;
}
.history-modal-drawer.open {
  transform: translateX(0);
}
.history-modal-drawer > .history-resize-handle {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  z-index: 10;
}
.history-modal-drawer .header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-bottom: var(--modal--border-width) solid var(--modal--border-color);
}
.history-modal-drawer .header .icon {
  color: var(--icon-default-color);
  font-size: 1.5rem;
}
.history-modal-drawer .header .title {
  font-size: var(--h5--font-size);
  font-weight: 600;
  flex: 1;
  margin: 0;
  color: var(--body--color);
}
.history-modal-drawer .header .close-button {
  margin-left: auto;
}
.history-modal-drawer .description {
  padding: 1rem 1.5rem;
  color: var(--label--color);
  font-size: var(--caption--font-size);
  border-bottom: var(--modal--border-width) solid var(--modal--border-color);
}
.history-modal-drawer .content {
  flex: 1;
  overflow: auto;
  padding: 0 1.5rem 1rem;
  position: relative;
}
.history-modal-drawer .content .error-message {
  padding: 1rem 1.5rem;
  background: var(--badge-error--bg-color);
  color: var(--badge-error--color);
  border-left: 4px solid var(--error);
  margin: 1rem 1.5rem;
}
.history-modal-drawer .content .ag-theme-quartz {
  height: 100%;
}
.history-modal-drawer .ag-popup {
  z-index: 100 !important;
}
.history-modal-drawer .ag-popup-child {
  z-index: 100 !important;
}
.history-modal-drawer .footer {
  padding: 1rem 1.5rem;
  border-top: var(--modal--border-width) solid var(--modal--border-color);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.history-modal-content-host {
  position: relative;
  inset: auto;
  min-width: 0;
  max-width: none;
  width: 100%;
  height: 620px;
  transform: none;
  box-shadow: none;
  z-index: auto;
  border: 1px solid var(--modal--border-color);
  border-radius: 6px;
  overflow: hidden;
}