.wc-ph-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.wc-ph-table th, .wc-ph-table td {
    border: 1px solid #ddd;
    padding: 8px;
}
.wc-ph-table th {
    background-color: #f4f4f4;
}
/* Open button */
.open-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, #007cba, #005a87);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.open-btn:hover {
  background: linear-gradient(135deg, #005a87, #004060);
  transform: translateY(-2px);
}

/* Popup overlay */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.65);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
  overflow: hidden;
}

/* Modal content box */
.modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 30px 25px;
  width: 700px;
  max-width: 95%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  text-align: center;
  position: relative;
  transform: translateY(-30px);
  opacity: 0;
  animation: slideUp 0.35s ease forwards;
}

.modal-content h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #222;
  font-weight: 600;
  border-bottom: 2px solid #f1f1f1;
  padding-bottom: 12px;
}

/* Close button */
.close-btn {
  position: absolute;
      top: 12px;
      right: 12px;
      background: #dc3545;
      color: white;
      border: none;
      font-size: 14px;
      font-weight: 600;
      padding: 8px 14px;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.3s ease;
}
.close-btn:hover {
  background: #b52a37;
}

/* Table styling */
.wc-ph-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}
.wc-ph-table th, .wc-ph-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}
.wc-ph-table th {
  background: #f9f9f9;
  font-weight: 600;
  text-align: left;
}
.wc-ph-table .current_price td {
  font-weight: bold;
  background: #f0faff;
  color: #007cba;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes slideUp {
  from {transform: translateY(20px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}

/* Responsive */
@media (max-width: 600px) {
  .modal-content {
    padding: 20px;
    max-height: 80vh;
  }
  .modal-content h2 {
    font-size: 18px;
  }
}