#tori-stock-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#tori-stock-modal {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  max-width: 500px;
  width: 90%;
  position: relative;
  font-size: 14px;        /* 전체 폰트 크기 */
  line-height: 1.4;       /* 줄 간격 */
}

.tori-stock-close {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.tori-stock-actions {
  text-align: right;
  margin-top: 1em;
}

.tori-stock-hidden {
  display: none !important;
}

#tori-stock-modal h2 {
  font-size: 16px;        /* 헤더는 살짝 크게 */
  margin-bottom: 0.75em;
}

#tori-stock-modal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

#tori-stock-modal th,
#tori-stock-modal td {
  padding: 6px 8px;
  border: 1px solid #ddd;
  text-align: left;
}

.tori-stock-table {
  width: 100%;
  border-collapse: collapse;
}
.tori-stock-table th,
.tori-stock-table td {
  border: 1px solid #ddd;
  padding: 6px 8px;
  font-size: 14px;
  line-height: 1.4;
}