.db-table {
  display: flex;
  width: calc(100vw - 130px);
  gap: 12px;
}

.db-table .white-box {
  margin-top: 0;
}

.db-table .data-picker button {
  justify-content: space-evenly;
}

.db-table thead th {
  padding: 0.5rem 1rem;
}

.db-table tbody td:not(:first-child) {
  text-align: center;
}

.db-fix {
  position: sticky;
  top: 6px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  max-width: 350px;
  width: 100%;
}

.db-fix .w-full {
  margin-bottom: 0;
}

.db-fix .white-box {
  min-height: unset;
  padding: 12px;
}

.db-fix-product {
  display: flex;
  gap: 12px;
}

.db-product-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.db-product-head img {
  border-radius: 16px;
}

.db-product-head .button {
  max-width: 150px;
  padding: 12px;
}

.db-product-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.db-product-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 16px;
  line-height: 1;
}

.db-product-title {
  color: #5068A5;
}

.db-product-row {
  font-size: 16px;
  line-height: 1;
}

.db-product-row td {
  font-size: 16px;
  line-height: 1;
  padding: 12px 0;
}

.db-product-row:last-child td {
  border: none;
}

.db-product-left {
  font-weight: 600;
  color: #5068A5;
}

.db-product-right {
  text-align: end;
}

.db-not-found {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.db-not-found-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  color: rgba(51, 51, 51, 0.5);
}

.db-table .db-previous-year-cell,
.db-table th.db-previous-year-header-cell {
  color: #9AA9CD;
}

.db-popup-type {
  display: inline-block;
  min-width: 85px;
  padding: 16px;
  border-radius: 4px;
}

.db-popup-cell {
  position: relative;
  cursor: pointer;
}

.db-popup-cell:hover .db-popup-window {
  opacity: 1;
  visibility: visible;
}

.db-cell-text {
  padding: 6px 8px;
  min-width: 60px;
  border-radius: 4px;
}

.db-popup-cell  .db-popup-window {
  display: flex;
  opacity: 0;
  visibility: hidden;
  flex-direction: column;
  gap: 6px;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 100px;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  z-index: 999;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.db-popup-cell  .db-popup-window  .db-popup-row {
  font-size: 13px;
  border-radius: 4px;
  padding: 6px 0;
}
