* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f5f7fa;
  color: #1a1a2e;
}

header {
  background: #1a1a2e;
  color: #fff;
  padding: 1.5rem 2rem 2rem;
  text-align: center;
}

.header-logo {
  height: 36px;
  width: auto;
  margin-bottom: 0.75rem;
}

header .header-link {
  color: inherit;
  text-decoration: none;
}

header p {
  margin-top: 0.25rem;
  opacity: 0.7;
  font-size: 1rem;
}

.brand-by {
  font-weight: 300;
  font-size: 0.85em;
}

.brand-aksanio {
  font-weight: 700;
  color: #60a5fa;
  text-decoration: none;
}

.brand-aksanio:hover {
  text-decoration: underline;
}

/* Aksanio links throughout the page */
.aksanio-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
}

.aksanio-link:hover {
  text-decoration-style: solid;
}

.brand-url {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #93c5fd;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.15s;
}

.brand-url:hover {
  opacity: 1;
  text-decoration: underline;
}

main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #666;
}

.breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.controls input {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.controls span {
  font-size: 0.9rem;
  color: #666;
  white-space: nowrap;
}

/* Table-header filter dropdowns */
.th-filter {
  padding: 0 !important;
}

.th-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  background: transparent;
  color: #1a1a2e;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}

.th-select:focus {
  outline: none;
  box-shadow: inset 0 -2px 0 #2563eb;
}

.th-select option {
  font-weight: normal;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.9rem;
}

/* Filter bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  margin-right: 0.25rem;
}

.filter-btn {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: #fff;
  color: #444;
  cursor: pointer;
  transition: all 0.15s;
}

.filter-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.filter-btn.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* Capability filter bar */
.cap-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cap-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cap-filter-btn, .cap-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.cap-count-badge {
  display: inline-block;
  min-width: 1.2em;
  padding: 0.1rem 0.4rem;
  background: rgba(0,0,0,0.08);
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}

.filter-btn.active .cap-count-badge {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* Capability listing page */
.cap-page-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cap-page-header h2 {
  font-size: 1.5rem;
  margin: 0;
}

.cap-page-count {
  font-size: 0.9rem;
  color: #666;
}

/* Pagination */
.cap-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.cap-page-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
}

.cap-page-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.cap-page-btn.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  pointer-events: none;
}

.cap-page-ellipsis {
  padding: 0 0.25rem;
  color: #999;
}

/* Capability page country filter */
.cap-country-filter {
  margin-bottom: 1rem;
  position: relative;
  max-width: 320px;
}

.cap-filter-input-wrap {
  position: relative;
}

.cap-country-input {
  width: 100%;
  padding: 0.55rem 2rem 0.55rem 0.75rem;
  font-size: 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.cap-country-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.cap-country-input::placeholder {
  color: #9ca3af;
}

.cap-country-clear {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: #9ca3af;
  cursor: pointer;
  line-height: 1;
  padding: 0.15rem;
}

.cap-country-clear:hover {
  color: #374151;
}

.cap-country-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d1d5db;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 50;
}

.cap-country-dropdown li {
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.1s;
}

.cap-country-dropdown li:hover,
.cap-country-dropdown li.highlighted {
  background: #eff6ff;
}

.cap-country-dropdown li .country-count {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-left: 0.5rem;
}

.cap-country-active-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  margin-left: 0.75rem;
  cursor: pointer;
  transition: background 0.12s;
}

.cap-country-active-tag:hover {
  background: #dbeafe;
}

.cap-country-active-tag .tag-x {
  font-size: 0.9rem;
  line-height: 1;
}

/* Filter dropdown */
.filter-dropdown {
  position: relative;
}

.filter-dropdown-toggle::after {
  content: ' ▾';
  font-size: 0.7em;
}

.filter-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  padding: 0.5rem 0;
  z-index: 100;
  min-width: 150px;
}

.filter-dropdown.open .filter-dropdown-menu {
  display: block;
}

.filter-dropdown-menu label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.1s;
}

.filter-dropdown-menu label:hover {
  background: #f0f2f5;
}

.filter-dropdown-menu input[type="checkbox"] {
  accent-color: #2563eb;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* Facility search results */
#facility-search-results {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.facility-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  text-decoration: none;
  color: #1a1a2e;
  transition: box-shadow 0.15s, transform 0.15s;
}

.facility-result:hover {
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

.facility-result-name {
  font-weight: 500;
}

.facility-result-country {
  font-size: 0.85rem;
  color: #888;
  flex-shrink: 0;
  margin-left: 1rem;
}

/* Country grid */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.5rem;
}

.country-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  text-decoration: none;
  color: #1a1a2e;
  transition: box-shadow 0.15s, transform 0.15s;
}

.country-flag {
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 1;
}

.country-card:hover {
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

/* Free country (Albania) — highlighted */
.country-card-free {
  border: 2px solid #16a34a;
  background: #f0fdf4;
  font-weight: 600;
}

.country-card-free:hover {
  border-color: #15803d;
}

.free-tag {
  margin-left: auto;
  padding: 0.15rem 0.5rem;
  background: #16a34a;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Locked countries — greyed out */
.country-card-locked {
  opacity: 0.5;
}

.country-card-locked:hover {
  opacity: 0.75;
}

.lock-icon {
  margin-left: auto;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Add facility bar */
.add-facility-bar {
  text-align: right;
  padding: 0.5rem 0;
}
.add-facility-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.add-facility-btn:hover {
  background: #dbeafe;
  color: #1d4ed8;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.15);
}

/* Facilities table */
.table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

th, td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eee;
}

th {
  background: #f0f2f5;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: sticky;
  top: 0;
}

th:first-child {
  width: 60px;
}

tr:hover td {
  background: #f9fafb;
}

.loading {
  text-align: center;
  padding: 3rem;
  color: #999;
}

td a {
  color: #2563eb;
  text-decoration: none;
}

td a:hover {
  text-decoration: underline;
}

td .no-axid {
  color: #999;
}

/* Facility detail page */
.detail-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  padding: 2rem;
}

.detail-card h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.detail-description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.detail-fields {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.75rem 1rem;
}

.detail-fields dt {
  font-weight: 600;
  color: #666;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.detail-fields dd {
  font-size: 1rem;
}

.detail-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.detail-link {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: #eef2ff;
  color: #2563eb;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.15s;
}

.detail-link:hover {
  background: #dbeafe;
  text-decoration: none;
}

/* Facility photos */
.facility-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.photo-placeholder {
  aspect-ratio: 4 / 3;
  background: #f0f2f5;
  border: 2px dashed #ccc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder::after {
  content: "No photo";
  color: #999;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .facility-photos {
    grid-template-columns: 1fr;
  }
}

/* Capabilities */
.capabilities-section {
  margin-top: 1.5rem;
}

.capabilities-heading {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #666;
  margin-bottom: 0.75rem;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  list-style: none;
}

.capability-item {
  padding: 0.5rem 0.75rem;
  background: #f0f2f5;
  border-radius: 6px;
  font-size: 0.85rem;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.capability-item.confirmed {
  background: #dcfce7;
  color: #166534;
  font-weight: 500;
}

.capability-item.unconfirmed {
  color: #999;
  border: 1px dashed #ddd;
  background: #fafafa;
}

.cap-icon { font-size: 0.75rem; flex-shrink: 0; align-self: flex-start; margin-top: 0.15rem; }

.capability-item { align-items: flex-start; }

.cap-label { font-weight: 500; }

.cap-sub-list {
  list-style: disc;
  margin: 0.25rem 0 0 1rem;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 400;
  color: #15803d;
}

.cap-details {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
}
.cap-details li {
  font-size: 0.75rem;
  font-weight: 400;
  color: #15803d;
  padding-left: 0.25rem;
}
.cap-details li::before {
  content: "·";
  margin-right: 0.3rem;
}
.cap-survey-tag {
  font-size: 0.7rem;
  color: #6b7280;
  font-style: italic;
  font-weight: 400;
}

.cap-detail-section {
  margin-top: 1rem;
}

.cap-detail-heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #888;
  margin-bottom: 0.5rem;
}

.cap-detail-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cap-detail-item {
  padding: 0.35rem 0.7rem;
  background: #eff6ff;
  color: #1e40af;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

@media (max-width: 640px) {
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* CTA stacked layout */
.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.cta-section-heading {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #666;
  margin-top: 0.75rem;
}

.cta-section-heading:first-child {
  margin-top: 0;
}

.example-link {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #2563eb;
  text-decoration: none;
  margin-left: 0.5rem;
}

.example-link:hover {
  text-decoration: underline;
}

/* Survey capability cards */
.survey-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.survey-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.survey-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.survey-card-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.survey-card-desc {
  font-size: 0.8rem;
  color: #888;
}

.cta-with-example {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.cta-with-example .gop-cta-btn {
  width: 100%;
}

.survey-card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.survey-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.survey-buy-btn {
  padding: 0.45rem 1.1rem;
  background: #d97706;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.survey-buy-btn:hover {
  background: #b45309;
}

/* GOP CTA button */
.gop-cta-btn {
  display: block;
  width: 100%;
  margin-top: 0;
  padding: 1.1rem 1.75rem;
  background: linear-gradient(to bottom, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  border-bottom: 3px solid #1e3a8a;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
}

.gop-cta-btn:hover {
  background: linear-gradient(to bottom, #3b82f6, #2563eb);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4), 0 2px 6px rgba(0, 0, 0, 0.12);
}

.gop-cta-btn:active {
  transform: translateY(1px);
  border-bottom-width: 1px;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.3);
}

/* Clinician button variant (teal) */
.clinician-cta-btn {
  background: linear-gradient(to bottom, #0d9488, #0f766e);
  border-bottom-color: #115e59;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.clinician-cta-btn:hover {
  background: linear-gradient(to bottom, #14b8a6, #0d9488);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4), 0 2px 6px rgba(0, 0, 0, 0.12);
}

.clinician-cta-btn:active {
  box-shadow: 0 1px 4px rgba(13, 148, 136, 0.3);
}

/* Customer button variant (amber/orange) */
.customer-cta-btn {
  background: linear-gradient(to bottom, #d97706, #b45309);
  border-bottom-color: #92400e;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.customer-cta-btn:hover {
  background: linear-gradient(to bottom, #f59e0b, #d97706);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4), 0 2px 6px rgba(0, 0, 0, 0.12);
}

.customer-cta-btn:active {
  box-shadow: 0 1px 4px rgba(217, 119, 6, 0.3);
}

/* Inquiry card — styled as a survey card with purple accent */
.inquiry-survey-card {
  border-color: #e9e0fb;
  background: #faf8ff;
}

.inquiry-buy-btn {
  background: #7c3aed !important;
}

.inquiry-buy-btn:hover {
  background: #6d28d9 !important;
}

.inquiry-explainer {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin: 0 0 0.75rem;
}

/* GOP Modal */
.gop-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.gop-modal {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.gop-modal h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.gop-modal-subtitle {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.gop-modal label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 0.3rem;
  margin-top: 1rem;
}

.gop-modal label:first-of-type {
  margin-top: 0;
}

.gop-modal .required {
  color: #dc2626;
}

.gop-modal input,
.gop-modal textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
}

.gop-modal input:focus,
.gop-modal textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.gop-modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.gop-btn-primary {
  padding: 0.65rem 1.25rem;
  background: #1a1a2e;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.gop-btn-primary:hover {
  background: #2a2a4e;
}

.gop-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.gop-btn-secondary {
  padding: 0.65rem 1.25rem;
  background: #f0f2f5;
  color: #1a1a2e;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s;
}

.gop-btn-secondary:hover {
  background: #e2e5ea;
}

.gop-success {
  text-align: center;
  padding: 1rem 0;
}

.gop-success p {
  font-size: 1rem;
  color: #16a34a;
  margin-bottom: 1.25rem;
}

.gop-success .gop-btn-secondary {
  margin: 0 auto;
}

.gop-error {
  color: #dc2626;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  text-align: center;
}

/* Not listed */
.not-listed {
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 1rem;
  background: #fff;
  border: 1px dashed #ccc;
  border-radius: 8px;
}

.not-listed p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.not-listed-btn {
  padding: 0.6rem 1.25rem;
  background: #1a1a2e;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}

.not-listed-btn:hover {
  background: #2a2a4e;
}

/* Free data banner */
.free-data-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #065f46;
}

.free-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: #059669;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

/* CTA section description */
.cta-section-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

/* Aksanio powered / fulfilled labels */
.aksanio-powered {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.02em;
}

.aksanio-powered::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #60a5fa;
  border-radius: 50%;
  margin-right: 0.4rem;
  vertical-align: middle;
}

/* Aksanio-branded buy button */
.aksanio-btn {
  background: #d97706;
  color: #fff;
}

/* Modal brand tag */
.modal-brand {
  font-size: 0.7em;
  font-weight: 400;
  color: #6b7280;
}

/* API access CTA */
.api-cta {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: #1a1a2e;
  color: #fff;
  border-radius: 10px;
  padding: 2rem;
}

.api-cta h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.api-cta-info p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.api-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.api-features li {
  font-size: 0.85rem;
  opacity: 0.7;
  padding-left: 1.1rem;
  position: relative;
}

.api-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  background: #60a5fa;
  border-radius: 50%;
}

.api-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.api-form input,
.api-form textarea {
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: inherit;
}

.api-form input::placeholder,
.api-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.api-form input:focus,
.api-form textarea:focus {
  outline: none;
  border-color: #60a5fa;
  background: rgba(255,255,255,0.12);
}

.api-submit-btn {
  padding: 0.75rem 1.25rem;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

.api-submit-btn:hover {
  background: #3b82f6;
}

.api-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.api-success {
  color: #4ade80;
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
}

.api-error {
  color: #f87171;
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
}

@media (max-width: 700px) {
  .api-cta {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Site footer */
.site-footer {
  margin-top: 3rem;
  padding: 2rem 1rem;
  background: #1a1a2e;
  color: #fff;
  text-align: center;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-logo {
  height: 28px;
  width: auto;
}

.footer-aksanio-link {
  color: #60a5fa;
  text-decoration-color: #60a5fa;
}

.footer-brand {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.footer-brand strong {
  color: #60a5fa;
}

.footer-tagline {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.footer-link {
  font-size: 0.85rem;
  color: #93c5fd;
  text-decoration: none;
  transition: opacity 0.15s;
}

.footer-link:hover {
  text-decoration: underline;
}

/* Cross-site footer links */
.footer-sites {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-sites-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.6rem;
}

.footer-sites-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-site-link {
  font-size: 0.85rem;
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-site-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-site-current {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-copy {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  opacity: 0.4;
}

/* ── SSR Public Facility Card ── */
.ssr-public-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.ssr-public-card .detail-card {
  margin-top: 0;
}

.ssr-public-card .detail-card code {
  background: #e8edf3;
  padding: 0.15em 0.5em;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 600;
  color: #1a1a2e;
}

.ssr-gated-notice {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  border: 1px solid #c3d4f7;
  border-radius: 8px;
  text-align: center;
}

.ssr-gated-notice p {
  margin-bottom: 1rem;
  color: #374151;
  font-size: 0.95rem;
}

.ssr-gated-notice button {
  font-size: 1rem;
  padding: 0.75rem 2rem;
}
