/* Modern Pricing Table Styles */

.pricing-section {
  margin: 2rem 0;
}

/* Improve the panel container */
.panel {
  background: transparent;
  border: none;
  padding: 2rem;
}

.pricing-category {
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.06);
  margin-bottom: 2rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.08);
}

.pricing-category-header {
  background: linear-gradient(135deg, #1a1720 0%, #2E2A39 100%);
  color: #fff;
  padding: 1.5rem 2rem;
  margin: 0;
}

.pricing-category-header h4 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.pricing-category-subtext {
  color: #fff !important;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-style: italic;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table tbody tr {
  border-bottom: 1px solid #e8e8e8;
  transition: background-color 0.2s ease;
}

.pricing-table tbody tr:last-child {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background-color: #f4f4f4;
}

.pricing-table td {
  padding: 1.25rem 2rem;
}

.service-name {
  font-size: 1rem;
  color: #333;
  font-weight: 400;
}

.service-price {
  text-align: right;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  white-space: nowrap;
}

/* Tooltip styling in header */
.pricing-category-header .has-tip {
  border-bottom: 2px dotted #fff;
  cursor: help;
  font-weight: inherit;
  color: #fff;
}

/* Tooltip styling in table */
.pricing-table .has-tip {
  border-bottom: 2px dotted #333333;
  cursor: help;
  font-weight: inherit;
}

/* Responsive adjustments */
@media screen and (max-width: 640px) {
  .pricing-table td {
    padding: 1rem 1rem;
    display: block;
    width: 100%;
  }

  .service-price {
    text-align: left;
    margin-top: 0.25rem;
    font-size: 1.2rem;
    color: #333333;
    font-weight: 700;
  }

  .pricing-category-header {
    padding: 1.25rem 1rem;
  }

  .pricing-category-header h4 {
    font-size: 1.25rem;
  }
}

/* Price highlight animation */
@keyframes priceHighlight {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.pricing-table tbody tr:hover .service-price {
  color: #008cba;
  animation: priceHighlight 0.3s ease;
}
