/* Styling for Zcal Meeting Scheduler Widget */
.zcal-inline-widget {
  width: 100%;
  min-height: 600px;
  border-radius: 8px;
  overflow: hidden;
  margin: 20px 0;
}

/* Ensure the iframe blends with the dark theme */
.zcal-inline-widget iframe {
  background-color: transparent !important;
  color-scheme: dark;
}

/* Make schedule containers look good */
.schedule-container {
  background-color: rgba(35, 35, 40, 0.6) !important;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 2rem !important;
}

/* CTA form container styling */
.cta-form-container {
  background-color: rgba(35, 35, 40, 0.6) !important;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  padding: 2rem;
}

/* Make form iframe background transparent */
#form_235728_1 iframe {
  background-color: transparent !important;
}

/* Additional styling to ensure iframe container is also transparent */
#form_235728_1 {
  background-color: transparent !important;
}

/* Secondary CTA styling */
.secondary-cta {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Availability badge styling */
.availability-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 193, 7, 0.1);
  color: rgba(255, 193, 7, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1.5rem;
}

/* Light theme adjustments */
[data-bs-theme="light"] .schedule-container,
[data-bs-theme="light"] .cta-form-container {
  background-color: rgba(248, 249, 250, 0.8) !important;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .availability-badge {
  background-color: rgba(255, 193, 7, 0.2);
  color: rgba(33, 37, 41, 0.8);
}

/* Mobile responsiveness for buttons */
@media (max-width: 768px) {
  /* Hero buttons - stack vertically on mobile */
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 0.5rem;
    white-space: normal;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  
  /* CTA actions - stack vertically on mobile */
  .cta-actions {
    flex-direction: column;
    gap: 2rem;
  }
  
  .cta-divider {
    margin: 0.5rem 0;
  }
  
  .cta-action-col {
    width: 100%;
  }
  
  .cta-action-col .btn {
    width: 100%;
    white-space: normal;
  }
  
  /* Secondary CTA - improve spacing on mobile */
  .secondary-cta .btn {
    width: 100%;
    white-space: normal;
    padding: 0.75rem 1rem;
  }
  
  /* General button improvements for mobile */
  .btn {
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px; /* Improve touch targets */
  }
  
  /* Improved form container padding on mobile */
  .cta-form-container,
  .schedule-container {
    padding: 1.5rem !important;
  }
  
  /* Reduce heading font sizes on mobile */
  h1.hero-headline {
    font-size: calc(var(--h1-size) * 0.8);
  }
  
  h2 {
    font-size: calc(var(--h2-size) * 0.9);
  }
}
