.amp-table-container {
  max-width: 100%;
  margin: 20px 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.amp-table-container .amp-table-header-block {
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.amp-table-container .amp-table-header-title {
  margin: 0 0 8px;
  color: #0d233a;
  font-size: 1.25rem;
  font-weight: 700;
}

.amp-table-container .amp-table-header-desc {
  margin: 0;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.5;
}

.amp-table-container .amp-table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.amp-table-container .amp-technical-table {
  width: 100%;
  min-width: 750px;
  border-collapse: collapse;
  text-align: left;
}

.amp-table-container .amp-technical-table th {
  padding: 14px 16px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: #0d233a;
  border-bottom: 2px solid #0d233a;
}

.amp-table-container .amp-technical-table td {
  padding: 14px 16px;
  color: #2d3748;
  font-size: 0.875rem;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  transition: background-color 0.2s ease;
}

.amp-table-container .amp-technical-table tbody tr:nth-child(even) td {
  background-color: #f7fafc;
}

.amp-table-container .amp-technical-table tbody tr:hover td {
  background-color: #edf2f7;
}

.amp-table-container.is-enhanced .amp-technical-table tbody tr.amp-row-hidden {
  display: none;
}

.amp-table-container.is-enhanced.is-expanded
  .amp-technical-table tbody tr.amp-row-overflow {
  animation: etdt-row-reveal 150ms ease-out;
}

@keyframes etdt-row-reveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.amp-table-container .amp-table-action-area {
  display: flex;
  justify-content: center;
  padding: 20px;
  background-color: #fcfdfd;
  border-top: 1px solid #e2e8f0;
}

.amp-table-container .amp-table-action-area[hidden] {
  display: none;
}

.amp-table-container .amp-table-toggle-btn {
  padding: 10px 28px;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background-color: #1a56db;
  border: 0;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.amp-table-container .amp-table-toggle-btn:hover {
  background-color: #1a41a8;
}

.amp-table-container .amp-table-toggle-btn:active {
  transform: translateY(1px);
}

.amp-table-container .amp-table-toggle-btn:focus-visible {
  outline: 3px solid rgba(26, 86, 219, 0.4);
  outline-offset: 3px;
}

.amp-table-container .amp-table-note {
  padding: 14px 20px;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.6;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

@media (prefers-reduced-motion: reduce) {
  .amp-table-container .amp-technical-table td,
  .amp-table-container .amp-table-toggle-btn {
    transition: none;
  }

  .amp-table-container.is-enhanced.is-expanded
    .amp-technical-table tbody tr.amp-row-overflow {
    animation: none;
  }
}

@media (max-width: 768px) {
  .amp-table-container .amp-technical-table th,
  .amp-table-container .amp-technical-table td {
    padding: 10px 12px;
  }
}
