/**
 * @file empowerlyEmbed.css
 * @description Styles for the Empowerly iframe embed component
 * @version 1.0.0
 * @author Empowerly
 */

/* Container styles */
.empowerly-connect-embed-outer {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.empowerly-connect-embed-container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Responsive styles */
@media (max-width: 780px) {
  .empowerly-connect-embed-container iframe {
    max-width: 100%;
  }

  /* Handle container on smaller screens */
  .section-consult-iframe .container,
  .section-consult-iframe .widget-html,
  .section-consult-iframe .custom-html-value {
    width: 100% !important;
  }
}

@media (min-width: 780px) {
  .empowerly-connect-embed-container {
    max-width: 780px;
    margin: 0 auto;
  }

  .empowerly-connect-embed-outer {
    padding-top: 10px;
  }
}

/* Optional - Add these classes to your page if you want a styled container */
.empowerly-themed .empowerly-connect-embed-outer {
  border-radius: 8px;
  padding: 30px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.empowerly-themed .empowerly-connect-embed-container {
  background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
}
