﻿@charset "UTF-8";
﻿.history-date-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 8px 16px;
}
﻿.history-date-header:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.nested-version {
  margin-left: 24px;
}

.version-item {
  transition: all 0.3s ease;
}
.version-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.salary-component-cell .salary-component-more {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.salary-component-cell:hover .salary-component-more {
  opacity: 1;
  pointer-events: auto;
}

.table-salary_template th {
  position: relative;
}
.table-salary_template th .resizer {
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: transparent;
  cursor: col-resize;
  user-select: none;
  z-index: 10;
}
.table-salary_template th .dragging {
  background-color: #f5f5f5;
  opacity: 0.8;
}
.table-salary_template th .drop-target {
  border-left: 2px solid #3273dc;
  background-color: #e3f2fd !important;
}
.table-salary_template .resizer_column-border {
  box-shadow: inset -2px 0px 0px 0px var(--bulma-table-cell-border-color);
}

/* Formula Tooltip Styles */
.formula-tooltip-container {
  position: relative;
  display: inline-block;
}

.formula-tooltip {
  position: absolute;
  z-index: 9999;
  background: #FFF;
  border-radius: 8px;
  padding: 8px 16px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  font-size: 12px;
  white-space: nowrap;
  transform: translate(-11%, -50%);
  left: 50%;
  top: 50%;
  max-width: max-content;
  text-align: left;
}

/*.formula-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #f8f9fa transparent transparent transparent;
}*/
.formula-content {
  font-family: "Inter", monospace;
  font-weight: 400;
  font-size: 14px;
  font-style: normal;
}

.formula-tooltip {
  pointer-events: none;
}

@media (max-width: 768px) {
  .formula-tooltip {
    font-size: 11px;
    padding: 6px 10px;
    min-width: 150px;
  }
}
