/* Paylix Custom Theme - Boosthub */

/* Modal Backdrop */
.paylixecommerce-backdrop {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(10px) !important;
}

/* Iframe Wrapper - Centered vertically and horizontally */
.paylixecommerce-iframe-wrapper {
  max-width: 600px !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
}

/* Iframe Content */
.paylixecommerce-iframe-content {
  width: 100% !important;
  max-width: 600px !important;
  height: auto !important;
  max-height: 90vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.paylixecommerce-iframe {
  border-radius: 16px !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 500px !important;
  max-height: 90vh !important;
}

/* Loading Animation */
.paylix-no-spin-svg-container {
  background: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

/* Custom gradient for your brand */
#paylix-gradient stop:nth-child(2) {
  stop-color: #7c3aed !important; /* Your accent color */
}

/* Fallback button styling */
.paylixecommerce-fallback-button-container {
  background: #7c3aed !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.3) !important;
  transition: all 0.3s ease !important;
}

.paylixecommerce-fallback-button-container:hover {
  transform: translate(-50%, -50%) scale(1.05) !important;
  box-shadow: 0 20px 25px -5px rgba(124, 58, 237, 0.4) !important;
}

.paylixecommerce-fallback-button {
  color: white !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

/* Responsive */
@media (max-width: 768px) {
  .paylixecommerce-iframe-wrapper {
    padding: 10px !important;
    max-width: 100% !important;
  }
}
