/* Integrations page styling. Uses only existing tokens:
   #FEA327 primary, #FFFAEB / #FFFCF2 tint, #1C1C1C / #3c3c3c dark text,
   #6B7280 / #9CA3AF muted, #F0F0F0 border, 10/12/16px radius. */

.integrations-sub {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
  color: #3c3c3c;
}

.integrations-section-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #FEA327;
  text-align: center;
}

/* Text-only tile — small uppercase category label on top, bold
   partner name underneath. Uniform height so 50+ cards line up
   cleanly. No logos today (per owner 2026-04-23); swap in real
   branded marks later if/when licensed artwork is ready. */
.integration-card {
  background: #fff;
  border: 1px solid #F0F0F0;
  border-radius: 12px;
  padding: 16px 18px;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.integration-card:hover {
  border-color: #FEA327;
  box-shadow: 0 4px 14px rgba(254,163,39,0.10);
}

.integration-category {
  font-size: 0.68rem;
  color: #FEA327;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.integration-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1C1C1C;
  line-height: 1.25;
}

/* Partnership form card */
.integration-form-card {
  background: #fff;
  border: 1px solid #F0F0F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(16,24,40,0.04);
}
.integration-form-side {
  background: linear-gradient(180deg, #FFFCF2 0%, #FFFAEB 100%);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.integration-form-side h4 {
  color: #1C1C1C;
}
.integration-form-main {
  padding: 32px 32px 28px;
}

/* Success confirmation — swaps in after the POST succeeds. Same outer
   shell as the form card (rounded 16px, same shadow) so the visual
   footprint doesn't jump when the swap happens. */
.integration-confirm-card {
  background: #fff;
  border: 1px solid #F0F0F0;
  border-radius: 16px;
  padding: 44px 32px 40px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(16,24,40,0.04);
}
.integration-confirm-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFFCF2 0%, #FFFAEB 100%);
  border: 2px solid #FEA327;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.integration-confirm-icon i {
  color: #FEA327;
  font-size: 28px;
}
.integration-confirm-card h3 {
  color: #1C1C1C;
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.integration-confirm-lead {
  color: #6B7280;
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.55;
}
.integration-confirm-lead #integrationConfirmEmail {
  color: #1C1C1C;
  font-weight: 600;
}

/* Privacy-consent checkbox. Bootstrap's default .form-check-input gives
   a blue box with a white tick; brand it orange so it reads as a Lotly
   control and make the checked state unmistakable against the cream
   form background. Without this, the check can look invisible on the
   light form card. */
.integration-form-main .form-check-input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.22rem;
  border: 1px solid #cfcfcf;
  background-color: #fff;
  cursor: pointer;
}
.integration-form-main .form-check-input:checked {
  background-color: #FEA327;
  border-color: #FEA327;
}
.integration-form-main .form-check-input:focus {
  border-color: #FEA327;
  box-shadow: 0 0 0 0.15rem rgba(254, 163, 39, 0.25);
}
.integration-form-main .form-check-label {
  cursor: pointer;
  color: #3c3c3c;
  font-size: 14px;
}
.integration-form-main .form-check-label a {
  color: #FEA327;
}

/* Adding .mt-6 for the form container spacing (Bootstrap 5 doesn't
   ship a mt-6; match the spacing other pages use). */
.mt-6 { margin-top: 4rem !important; }

@media (max-width: 768px) {
  .integration-form-side { padding: 24px 20px; }
  .integration-form-main { padding: 24px 20px 20px; }
  .mt-6 { margin-top: 2.5rem !important; }
}
