/* ==========================================================================
   LUXEA LIVING — HOST PARTNER WAITLIST (partners.css)
   Subdomain: partners.luxealiving.co.ke
   Clean, Minimalist, Brand-Aligned: Linen, Khaki, Camel, Cocoa, Espresso
   ========================================================================== */

/* Main Page Container - Centered, Focused, High-Converting */
.partner-page-container {
  max-width: 640px;
  margin: 40px auto 80px;
  padding: 0 16px;
}

.partner-card-box {
  background: linear-gradient(135deg, #FFFFFF, var(--color-linen));
  border: 1px solid var(--color-khaki);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-luxury);
  position: relative;
}

/* Header Block */
.partner-header-block {
  text-align: center;
  margin-bottom: 28px;
}

.partner-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background-color: var(--color-khaki-light);
  border: 1px solid var(--color-khaki);
  color: var(--color-espresso);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.partner-badge-tag .dot {
  width: 6px;
  height: 6px;
  background-color: #2E7D32;
  border-radius: 50%;
  box-shadow: 0 0 6px #2E7D32;
}

.partner-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-espresso);
  margin: 12px 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.partner-subtitle {
  color: var(--color-cocoa);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Value Highlights Strip (Clean 3-pill banner) */
.partner-perks-strip {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0 24px;
}

.perk-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-white);
  border: 1px solid var(--color-khaki-light);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-espresso);
}

.perk-pill span.icon {
  color: var(--color-camel-dark);
}

/* Form Styles */
.partner-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.partner-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-espresso);
}

.form-group label span.required {
  color: #C0392B;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.94rem;
  font-family: var(--font-sans);
  color: var(--color-espresso);
  background-color: var(--color-white);
  border: 1px solid var(--color-khaki);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--color-camel);
  box-shadow: 0 0 0 3px rgba(178, 150, 125, 0.2);
}

.form-control::placeholder {
  color: var(--color-camel);
  opacity: 0.8;
}

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A342A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
}

textarea.form-control {
  resize: vertical;
  min-height: 60px;
}

/* Perk Callout */
.partner-guarantee-note {
  background: var(--color-khaki-light);
  border: 1px solid var(--color-khaki);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--color-espresso);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.partner-guarantee-note strong {
  color: var(--color-espresso-rich);
}

/* Submit Button */
.btn-submit-host {
  background-color: var(--color-espresso);
  color: var(--color-linen);
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(74, 52, 42, 0.2);
  margin-top: 6px;
}

.btn-submit-host:hover:not(:disabled) {
  background-color: var(--color-espresso-rich);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74, 52, 42, 0.3);
}

.btn-submit-host:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.partner-privacy-sub {
  text-align: center;
  font-size: 0.76rem;
  color: var(--color-cocoa);
  margin-top: 10px;
  line-height: 1.4;
}

/* Result Card */
.partner-result-pane {
  animation: fadeIn 0.4s ease;
}

.partner-success-msg {
  text-align: center;
  margin: 20px 0;
  color: var(--color-espresso);
  font-size: 0.95rem;
  line-height: 1.5;
}

.partner-action-row {
  display: flex;
  gap: 12px;
}

/* Standalone Clean Footer */
.partner-page-footer {
  text-align: center;
  padding: 30px 16px 50px;
  font-size: 0.78rem;
  color: var(--color-cocoa);
  line-height: 1.7;
}

.partner-page-footer a {
  color: var(--color-espresso);
  text-decoration: underline;
}

/* Floating WhatsApp Support Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.floating-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

.floating-whatsapp-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

.floating-whatsapp-btn span.whatsapp-label {
  display: inline-block;
  white-space: nowrap;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .partner-page-container {
    margin: 20px auto 60px;
    padding: 0 14px;
  }

  .partner-card-box {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .partner-title {
    font-size: 2rem;
  }

  .partner-subtitle {
    font-size: 0.9rem;
  }

  .partner-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .partner-perks-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .perk-pill {
    justify-content: center;
  }

  .partner-action-row {
    flex-direction: column;
  }

  .form-control {
    font-size: 16px; /* Prevents auto-zoom on mobile iOS */
  }

  .floating-whatsapp-btn {
    bottom: 20px;
    right: 20px;
    padding: 12px;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }

  .floating-whatsapp-btn span.whatsapp-label {
    display: none;
  }
}

/* Helpers */
.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.spin-animate {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
