/* AppointMint Popup Widget Styles */
.appointmint-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 16px;
  box-sizing: border-box;
}

.appointmint-popup-overlay.visible {
  opacity: 1;
}

.appointmint-popup-modal {
  background: #EDE8E3;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.appointmint-popup-overlay.visible .appointmint-popup-modal {
  transform: translateY(0);
}

.appointmint-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #3D3D3D;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.appointmint-popup-close:hover {
  opacity: 0.7;
}

.appointmint-popup-iframe {
  width: 100%;
  height: 620px;
  border: none;
  display: block;
}

.appointmint-popup-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  color: #666;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@media (max-width: 600px) {
  .appointmint-popup-modal {
    max-height: 95vh;
    border-radius: 12px;
  }
  
  .appointmint-popup-iframe {
    height: 580px;
  }
}
