/* Apply Helvetica everywhere */
.integrations-scroll,
.integrations-scroll * {
  font-family: Helvetica, Arial, sans-serif;
}


:host {
  display: block;
  height: 100%;
}

.integrations-scroll {
  width: 100%;
  height: 100vh;       /* ✅ makes scroll container */
  overflow-y: auto;    /* ✅ enables scroll */
  overflow-x: hidden;
  background: #f8fafc;
  padding-bottom: 120px;
}
/* Container */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ===== HEADER ===== */
.integrations-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 26px 0 18px;
}

.header-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.header-icon {
  color: #7c3aed;
  font-size: 26px;
  width: 26px;
  height: 26px;
  margin-top: 3px;
}

.page-title {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
 color: #aa89e2;
}

.page-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* ===== BODY ===== */
.integrations-body {
  padding: 26px 0 70px;
}

/* Group */
.group {
  margin-bottom: 40px;
}

.group-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 100;
  color: #0f172a;
 font-family: Helvetica, Arial, sans-serif;
}

/* Grid */
.group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* Card */
.integration-card {
  width: 100%;
  text-align: left;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 18px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.integration-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.55);
  box-shadow: 0 16px 32px rgba(124, 58, 237, 0.12);
}

.integration-card:hover .card-name {
  color: #7c3aed;
}

.integration-card:active {
  transform: translateY(0px) scale(0.99);
}

/* Left */
.card-left {
  min-width: 0;
}

.card-name {
  font-size: 16px;
  font-weight: 400;
  color: #0f172a;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}

/* Right */
.card-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.pill {
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 12px;
  background: #e2e8f0;
  color: #0f172a;
}

/* Responsive */
@media (max-width: 1024px) {
  .group-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 0 16px;
  }

  .page-title {
    font-size: 24px;
  }

  .integration-card {
    padding: 16px;
  }
}


/* ================= ALL EXTERNAL APIS ================= */

/* Section */
.external-section {
  padding: 10px 0 80px;
  background: #f8fafc;
}

/* Title */
.external-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

/* Grid */
.external-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Card */
.external-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 18px;
  cursor: pointer;
  text-align: left;

  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.external-card:hover {
  border-color: rgba(124, 58, 237, 0.55);
  box-shadow: 0 16px 34px rgba(124, 58, 237, 0.12);
  transform: translateY(-4px);
}

.external-card:hover .api-title {
  color: #7c3aed;
}

/* Badges row */
.badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

/* Badge base */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
}

/* Badge icon */
.badge-icon {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

/* External badge */
.badge-external {
  background: rgba(124, 58, 237, 0.15);
  color: #6d28d9;
}

/* Active badge */
.badge-active {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

/* API title */
.api-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 3px;
}

/* slug */
.api-slug {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}

/* desc */
.api-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 14px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* meta */
.api-meta {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 14px;
}

.dot {
  margin: 0 6px;
  color: #94a3b8;
}

/* tags */
.api-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.api-tags span {
  font-size: 12px;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 999px;
  color: #334155;
}

/* Responsive */
@media (max-width: 1100px) {
  .external-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .external-grid {
    grid-template-columns: 1fr;
  }
}
mat-icon {
  font-family: "Material Icons" !important;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  direction: ltr;
}