/* ============================================================
   Olsen WhatsApp Form — Styles
   Colors: Primary #14223c | Accent #bba176
   ============================================================ */

.olsen-waf-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 0;
}

.olsen-waf-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.olsen-waf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.olsen-waf-field {
  position: relative;
}

/* ── Inputs & Textarea ── */
.olsen-waf-form input,
.olsen-waf-form textarea {
  width: 100%;
  padding: 16px 20px;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #14223c;
  background: #f8f7f5;
  border: 2px solid transparent;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
  -webkit-appearance: none;
}

.olsen-waf-form input::placeholder,
.olsen-waf-form textarea::placeholder {
  color: #9a9a9a;
  font-weight: 400;
}

.olsen-waf-form input:focus,
.olsen-waf-form textarea:focus {
  background: #ffffff;
  border-color: #14223c;
  box-shadow: 0 0 0 3px rgba(20, 34, 60, 0.08);
}

.olsen-waf-form textarea {
  resize: vertical;
  min-height: 130px;
}

/* ── Validation ── */
.olsen-waf-form input.olsen-waf-error,
.olsen-waf-form textarea.olsen-waf-error {
  border-color: #e74c3c;
  background: #fef5f5;
}

/* ── Submit Button ── */
.olsen-waf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  background: #14223c;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.olsen-waf-submit:hover {
  background: #bba176;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(187, 161, 118, 0.35);
}

.olsen-waf-submit:active {
  transform: translateY(0);
}

.olsen-waf-submit svg {
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .olsen-waf-wrapper {
    max-width: 100%;
    padding: 0;
  }

  .olsen-waf-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .olsen-waf-form {
    gap: 12px;
  }

  .olsen-waf-form input,
  .olsen-waf-form textarea {
    padding: 14px 16px;
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  .olsen-waf-submit {
    padding: 14px 24px;
    font-size: 0.85rem;
  }
}
