
/* === Theme tokens (match styles.css) === */
:root {
  --blue: #08a5e1;
  --blue-hover: #0696cb;
  --input-bg: #f3f3f3;
  --text: #0b0b0b;
}

* { box-sizing: border-box; }

/* Base page look: no enforced background */
body {
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
}

/* Form card wrapper */
.partner-form-wrapper {
  background: #fff;
  border: 1px solid #dcdcdc; /* light grey border */
  border-radius: 18px;
  padding: 19px 24px 24px; /* reduced top padding by 5px inside form */
  width: 100%;
  max-width: 720px;
  margin: 80px auto 24px; /* added extra 35px to top margin for lower placement */
  /* ↑ Extra 35px top margin to push form lower on page */
}

/* Title & subtitle */
.partner-title {
  margin: 0 0 6px;
  font-size: 32px;
  line-height: 1.2;
  color: #0a7cc1;
  font-weight: 800;
}

.partner-subtitle {
  margin: 0 0 18px;
  color: #5c6b76;
  font-size: 16px;
}

/* Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* Inputs */
.partner-form input[type="text"],
.partner-form input[type="email"],
.partner-form input[type="tel"] {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: none;
  outline: none;
  background: var(--input-bg);
  border-radius: 14px;
  font-size: 16px;
  color: var(--text);
}

.partner-form input::placeholder {
  color: #8b8f94;
}

.full-width { width: 100%; }

/* Phone field with flag */
.phone-input {
  position: relative;
}

.phone-input .flag {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  width: 28px;
  text-align: center;
  pointer-events: none;
}

.phone-input input[type="tel"] {
  padding-left: 48px;
}

/* Consent block */
.submit-section .consent,
.consent {
  margin: 10px 0 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}

.consent a {
  color: #0a7cc1;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
}

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

/* Submit button */
.submit-section button,
.partner-form button[type="submit"] {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 9999px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease-in-out, transform .02s ease-in-out;
}

.submit-section button:hover,
.partner-form button[type="submit"]:hover {
  background: var(--blue-hover);
}

.submit-section button:active,
.partner-form button[type="submit"]:active {
  transform: translateY(1px);
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .partner-title { font-size: 26px; }
  .partner-subtitle { font-size: 14px; }
  .partner-form-wrapper {
    margin: 40px auto 16px; /* adjusted proportionally for mobile */
    padding: 10px 20px 20px; /* slightly smaller padding, top reduced further */
  }
}
