/* ── V9: NEED HELP BOOKING (CALLBACK) SECTION ──────────────── */

.v9-callback {
  padding: 64px 0;
  background-color: var(--color-off-white, #f8fafb);
}

.v9-callback__container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-white, #ffffff);
  border-radius: 20px;
  box-shadow: var(--shadow-md, 0 8px 32px rgba(13,59,62,0.06));
  border: 1px solid var(--color-border, #dde8ea);
  overflow: hidden;
  position: relative;
}

/* Subtle premium pattern overlay */
.v9-callback__container::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(to right, var(--color-primary, #0d3b3e), var(--color-accent, #2aa8b0));
}

@media (min-width: 768px) {
  .v9-callback__container {
    display: flex;
    align-items: center;
    padding: 48px;
    gap: 48px;
  }
}

.v9-callback__content {
  padding: 40px 24px 24px;
}

@media (min-width: 768px) {
  .v9-callback__content {
    flex: 1;
    padding: 0;
  }
}

.v9-callback__content h2 {
  font-family: var(--font-heading, 'Outfit');
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary, #0d3b3e);
  margin-bottom: 12px;
}

.v9-callback__content p {
  font-size: 1.05rem;
  color: var(--color-text-mid, #3a5558);
  line-height: 1.5;
  margin: 0;
}

/* Form Styles */
.v9-callback__form {
  padding: 0 24px 40px;
}

@media (min-width: 768px) {
  .v9-callback__form {
    flex: 1;
    padding: 0;
  }
}

.v9-callback__inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.v9-form-group {
  width: 100%;
}

.v9-input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body, 'Inter');
  font-size: 1rem;
  color: var(--color-text, #1a2e30);
  background-color: var(--color-light-gray, #f0f4f5);
  border: 1px solid transparent;
  border-radius: 12px;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box; /* CRITICAL */
}

.v9-input::placeholder {
  color: var(--color-text-light, #a0b5b7);
}

.v9-input:hover {
  background-color: var(--color-white, #ffffff);
  border-color: var(--color-border, #dde8ea);
}

.v9-input:focus {
  background-color: var(--color-white, #ffffff);
  border-color: var(--color-accent, #2aa8b0);
  box-shadow: 0 0 0 4px rgba(42, 168, 176, 0.1);
}

/* Checkbox UI */
.v9-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.v9-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--color-border, #dde8ea);
  background-color: var(--color-white, #ffffff);
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0; /* Prevents shrinking on mobile */
  margin-top: 2px;
}

.v9-checkbox:checked {
  background-color: var(--color-accent, #2aa8b0);
  border-color: var(--color-accent, #2aa8b0);
}

.v9-checkbox:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.v9-checkbox-label {
  font-size: 0.9rem;
  color: var(--color-text-mid, #3a5558);
  line-height: 1.4;
  cursor: pointer;
  flex-wrap: wrap;
  word-wrap: break-word;
}

.v9-checkbox-label a {
  color: var(--color-accent, #2aa8b0);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.v9-checkbox-label a:hover {
  color: var(--color-primary, #0d3b3e);
  text-decoration: underline;
}

/* ── CRITICAL WHATSAPP BUTTON FIX ──────────────────────────────── */
.v9-btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box; /* CRITICAL */
  padding: 16px 20px;
  border-radius: 12px;
  background-color: #25D366; /* WhatsApp Green */
  color: #ffffff;
  font-family: var(--font-body, 'Inter');
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
  gap: 12px;
  text-align: center;
}

.v9-btn-whatsapp:hover {
  background-color: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.v9-btn-whatsapp:active {
  transform: translateY(0);
}

/* Ensure text inside button wraps naturally without overflowing or breaking layout */
.v9-btn-whatsapp span {
  white-space: normal;
  line-height: 1.3;
}

.v9-wa-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0; /* Prevents icon from squishing */
}

/* Responsive adjustment for very narrow mobile screens */
@media (max-width: 360px) {
  .v9-btn-whatsapp {
    padding: 14px 12px;
    font-size: 0.95rem;
    gap: 8px;
  }
  
  .v9-wa-icon {
    width: 20px;
    height: 20px;
  }
}
