/* Contact page styles — match submit form visuals (scoped to partner classes) */

.partner-section {
  padding-top: clamp(56px, 6vw, 88px);
  padding-bottom: clamp(90px, 8vw, 140px);
}

.partner-card {
  /* darker, less transparent card so form fields remain readable over busy backgrounds */
  background: linear-gradient(180deg, #040515 0%, #05061a 36%, #000000 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  color: #fff;
  padding: clamp(20px, 2.5vw, 32px);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}

.partner-card .section-title .pill {
  background: linear-gradient(90deg, #ff6a3a, #ff4219);
  color: #fff;
  border: 0;
  font-weight: 700;
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(255, 66, 25, 0.14);
}

.partner-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.partner-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 860px) {
  .partner-form .row {
    grid-template-columns: 1fr;
  }
}

.partner-form label {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 6px;
}

.partner-form input,
.partner-form select,
.partner-form textarea {
  width: 100%;
  color: #fff;
  background: linear-gradient(
    180deg,
    rgba(7, 12, 36, 0.95),
    rgba(10, 14, 48, 0.95)
  );
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.95rem;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s,
    transform 0.06s;
  box-shadow: inset 0 8px 22px rgba(0, 0, 0, 0.6);
}
.partner-form ::placeholder {
  color: rgba(255, 255, 255, 0.62);
}
.partner-form input:hover,
.partner-form select:hover,
.partner-form textarea:hover {
  background: linear-gradient(
    180deg,
    rgba(9, 14, 44, 0.98),
    rgba(12, 18, 60, 0.98)
  );
}
.partner-form input:focus,
.partner-form select:focus,
.partner-form textarea:focus {
  outline: none;
  border-color: #ff4219;
  box-shadow: 0 0 0 6px rgba(255, 66, 25, 0.12),
    inset 0 10px 28px rgba(0, 0, 0, 0.6);
}
.partner-form textarea {
  min-height: 160px;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
.form-actions .terms {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}
.form-actions input[type="checkbox"] {
  accent-color: #ff4219;
  margin-right: 8px;
}

.btn.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #ff6a3a, #ff4219);
  border: 0;
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(255, 66, 25, 0.35);
  transition: transform 0.08s ease, box-shadow 0.25s ease, filter 0.2s ease;
}
.btn.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(255, 66, 25, 0.45);
}
.btn.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.partner-form .help {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  margin-top: 0.6rem;
}

/* Ensure partner card content doesn't clip */
.partner-card {
  overflow: visible;
}
