/* Plan Details Block Styles */

.plan-details {
  margin: 1.5rem 0;
}

.plan-attributes-table-wrapper {
  overflow-x: auto;
}

@media (max-width: 640px) {
  .plan-attributes-table-wrapper--three-tier {
    overflow-x: visible;
  }

  .plan-attributes-table-wrapper--three-tier table.tight,
  .plan-attributes-table-wrapper--three-tier table.tight tbody {
    display: block;
    width: 100%;
  }

  .plan-attributes-table-wrapper--three-tier table.tight thead {
    display: none;
  }

  .plan-attributes-table-wrapper--three-tier table.tight tr {
    display: block;
    padding-bottom: 0.4em;
    margin-bottom: 0.4em;
    border-bottom: 1px solid #e5e7eb;
  }

  .plan-attributes-table-wrapper--three-tier table.tight tr:last-child {
    border-bottom: none;
  }

  .plan-attributes-table-wrapper--three-tier table.tight td {
    display: block;
    padding: 0.1em 0.15em;
  }

  .plan-attributes-table-wrapper--three-tier table.tight td[data-label]::before {
    content: attr(data-label) ': ';
    font-weight: 600;
    font-size: 0.8em;
    color: #6b7280;
  }
}

@media (max-width: 768px) {
  .plan-details {
    margin: 1rem 0;
  }
}

@media (max-width: 480px) {
  .plan-details {
    margin: 0.75rem 0;
  }
}
