/* Styled pricing table */
.whmcs-pricing-table {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-collapse: collapse;
}

/* Header row */
.whmcs-pricing-table thead th {
  background-color: #f9f9f9;
  color: #222;
  font-weight: 600;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 2px solid #e0e0e0;
}

/* Table body */
.whmcs-pricing-table tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid #eaeaea;
  color: #333;
}

/* Highlight row on hover */
.whmcs-pricing-table tbody tr:hover {
  background-color: #fdfdfd;
}

/* Price emphasis */
.whmcs-pricing-table td:nth-child(2),
.whmcs-pricing-table td:nth-child(3) {
  font-weight: 500;
  color: #007cba;
}
.buy-now-button {
  background-color: #007cba;
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.buy-now-button:hover {
  background-color: #005fa3;
}

.tld-group-title {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 10px;
  color: #333;
}
.tld-toggle {
  background: #007cba;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  padding: 12px 20px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  margin-top: 20px;
  border-radius: 5px;
}

.tld-toggle:hover {
  background: #005fa3;
}

.tld-table-wrapper {
  display: none;
  margin-top: 10px;
  animation: fadeIn 0.3s ease-in-out;
}

.tld-table-wrapper.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .whmcs-pricing-table thead {
    display: none;
  }
  .whmcs-pricing-table, 
  .whmcs-pricing-table tbody, 
  .whmcs-pricing-table tr, 
  .whmcs-pricing-table td {
    display: block;
    width: 100%;
  }
  .whmcs-pricing-table tbody tr {
    margin-bottom: 1rem;
    border-bottom: 2px solid #eaeaea;
  }
  .whmcs-pricing-table tbody td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }
  .whmcs-pricing-table tbody td::before {
    content: attr(data-label);
    position: absolute;
    left: 18px;
    top: 12px;
    font-weight: 600;
    text-align: left;
    color: #555;
  }
}
