/*!*****************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/style.css ***!
  \*****************************************************************/
/* Main styles for MoEngage SDK configuration app */

/* MoEngage Font Declarations */
@font-face {
  font-family: 'CircularXX';
  src: url('https://app-cdn.moengage.com/images/Fonts/CircularXXWeb-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CircularXX';
  src: url('https://app-cdn.moengage.com/images/Fonts/CircularXXWeb-Book.woff2') format('woff2');
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CircularXX';
  src: url('https://app-cdn.moengage.com/images/Fonts/CircularXXWeb-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'CircularXX';
  src: url('https://app-cdn.moengage.com/images/Fonts/CircularXXWeb-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #00adb5;
  --secondary-color: #F8F8F8;
  --text-color: #222831;
  --border-color: #e3e3e3;
  --hover-color: #008b91;
  --error-color: #dc3545;
  --error-bg-color: #f8d7da;
  --font-family: 'CircularXX', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  line-height: 1.6;
  padding: 20px;
  background-color: white;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  overflow: visible; /* Allow tooltips to extend beyond container */
}

h1 {
  font-size: 24px;
  font-weight: 700; /* Bold */
  margin-bottom: 20px;
}

h2 {
  font-size: 16px;
  font-weight: 500; /* Medium */
  margin-bottom: 16px;
}

/* Tabs */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 30px;
  position: relative;
}

.tab-btn {
  padding: 10px 15px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-family);
  color: var(--text-color);
  position: relative;
  transition: color 0.3s ease-in-out;
}

.tab-btn:hover {
  color: var(--primary-color);
}

.tab-btn.active {
  color: var(--primary-color);
}

/* Animated sliding indicator */
.tabs::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: var(--indicator-left, 0);
  width: var(--indicator-width, 0);
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease-in-out;
}

/* Form sections */
.config-section {
  margin-bottom: 20px;
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: white;
  overflow: visible; /* Ensure tooltips aren't clipped */
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  padding: 16px 20px;
  background-color: white;
  border-radius: 6px 6px 0 0;
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background-color: var(--border-color);
}

.section-header h2 {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 500; /* Medium */
}

/* Section content and toggle functionality */
.section-content {
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  overflow: visible; /* Changed from hidden to visible to allow tooltips */
  max-height: 3000px;
  opacity: 1;
}

.config-section.toggle-hidden .section-header::after {
  display: none;
}

.config-section.toggle-hidden .section-header {
  border-radius: 6px;
}

.config-section.toggle-hidden .section-content {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.config-section.toggle-hidden {
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px;
  overflow: visible; /* Ensure tooltips aren't clipped */
}

/* Form elements */
.form-group {
  margin-bottom: 16px;
  position: relative;
}

.form-group label {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-bottom: 8px;
  gap: 6px;
}

/* Tooltip functionality */
.tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: white;
  color: #A1B3D3;
  font-size: 15px;
  font-weight: 700; /* Bold */
  cursor: help;
  position: relative;
  flex-shrink: 0;
  font-family: var(--font-family);
}

.tooltip-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  left: calc(100% + 8px);
  transform: translateY(-50%);
  background-color: white;
  color: #333333;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
  z-index: 10000; /* High z-index to appear above everything */
  width: 200px;
  white-space: normal;
  text-align: left;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: var(--font-family);
  pointer-events: none;
}

.tooltip-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 2px);
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-right-color: white;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
  z-index: 10000; /* High z-index to appear above everything */
  pointer-events: none;
}

.tooltip-icon:hover::after,
.tooltip-icon:hover::before {
  opacity: 1;
  visibility: visible;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-family);
  background-color: white;
  color: var(--text-color);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 173, 181, 0.1);
}

.form-control::placeholder {
  color: #999999;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '▼';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #B0B0B0;
  pointer-events: none;
}

/* Modern dropdown arrow for web platform only */
body.web .select-wrapper::after {
  content: '';
  right: 12px;
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23666666%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276,9 12,15 18,9%27%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.2s ease-in-out;
}

/* Hover effect for web dropdown arrow */
body.web .select-wrapper:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276,9 12,15 18,9%27%3E%3C/polyline%3E%3C/svg%3E");
}

/* Rotate arrow when select is focused (web only) */
body.web .select-wrapper:has(select:focus)::after {
  transform: translateY(-50%) rotate(180deg);
}

select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 35px;
  cursor: pointer;
  background-color: white;
}

select.form-control option {
  padding: 8px 12px;
  background-color: white;
  color: var(--text-color);
}

/* Style for disabled/placeholder option */
select.form-control option[value=""] {
  color: #999999;
}

/* Number input styling - hide spinner controls and ensure consistency */
input[type="number"].form-control {
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: none;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px 35px 10px 12px;
  font-size: 14px;
  color: var(--text-color);
}

input[type="number"].form-control::-webkit-outer-spin-button,
input[type="number"].form-control::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

textarea.form-control {
  min-height: 80px;
  resize: vertical;
}

/* Hide the resize handle but keep resize functionality */
textarea.form-control::-webkit-resizer {
  display: none;
}

/* Custom color picker styling */
.color-picker-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: white;
  overflow: hidden;
  width: 50%; /* Make color picker 50% width of other inputs */
  height: 50px; /* Increased height to accommodate 5px margins */
}

.color-picker-wrapper input[type="color"] {
  width: 38px;
  height: 38px;
  margin: 5px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.color-picker-wrapper input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
  border: none;
}

.color-picker-wrapper input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 0;
}

.color-picker-wrapper input[type="color"]::-moz-color-swatch {
  border: none;
  border-radius: 0;
}

.color-picker-wrapper .color-value {
  flex: 1;
  width: calc(100% - 40px);
  margin-left: 5px;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-color);
  outline: none;
}

.color-picker-wrapper:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 173, 181, 0.1);
}

/* Number input wrapper for custom spinner */
.number-input-wrapper {
  position: relative;
}

/* Custom spinner container */
.number-spinner {
  position: absolute;
  right: 1px;
  top: 5px;
  bottom: 5px;
  width: 30px;
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 0 5px 5px 0;
}

/* Individual spinner buttons */
.spinner-btn {
  flex: 1;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #D9DFED;
  user-select: none;
  transition: background-color 0.2s;
}

/* Up button specific styling */
.spinner-btn.up {
  border-radius: 0 5px 0 0;
}

/* Down button specific styling */
.spinner-btn.down {
  border-radius: 0 0 5px 0;
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border-color);
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
  transform: translateX(16px);
}

/* Buttons */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 30px;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500; /* Medium */
  font-family: var(--font-family);
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--hover-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

.btn-secondary:hover {
  background-color: #e0e0e0;
}

/* Hide elements based on platform */
.ios-only {
  display: none;
}

.android-only {
  display: none;
}

/* When Android tab is active */
body.android .android-only:not(.conditional-field) {
  display: block;
}

body.android .ios-only {
  display: none;
}

/* When iOS tab is active */
body.ios .ios-only:not(.conditional-field) {
  display: block;
}

body.ios .android-only {
  display: none;
}

/* Conditional field rules */
.conditional-field {
  display: none;
}

.conditional-field.show {
  display: block;
}

/* Platform-specific conditional fields */
body.ios .conditional-field.ios-only.show {
  display: block;
}

body.android .conditional-field.android-only.show {
  display: block;
}

/* Ensure iOS-only conditional fields are hidden in Android */
body.android .conditional-field.ios-only {
  display: none;
}

/* Ensure Android-only conditional fields are hidden in iOS */
body.ios .conditional-field.android-only {
  display: none;
}

/* Common conditional fields (no platform class) show on both platforms */
body.ios .conditional-field.show:not(.android-only):not(.ios-only) {
  display: block;
}

body.android .conditional-field.show:not(.android-only):not(.ios-only) {
  display: block;
}

/* Subsection styling */
.subsection-wrapper {
  grid-column: 1 / -1; /* Span full width of the grid */
  margin-bottom: 20px;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 16px;
}

.subsection-heading {
  font-size: 14px;
  font-weight: 500; /* Medium */
  margin: 0 0 16px 0;
  color: var(--text-color);
  padding-bottom: 8px;
}

.subsection-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.subsection-content .form-group {
  margin-bottom: 0;
}

/* Special layout for subsections with single field */
.subsection-content .form-group:only-child {
  grid-column: 1 / -1;
}

/* Responsive subsection layout */
@media (max-width: 768px) {
  .subsection-content {
    grid-template-columns: 1fr;
  }
}

/* Success message styling */
.success-message {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: #4CAF50;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: var(--font-family);
  animation: slideInRight 0.3s ease-out;
}

.success-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.success-icon {
  font-size: 18px;
  font-weight: 700; /* Bold */
}

.success-text {
  font-size: 14px;
  font-weight: 500; /* Medium */
}

.success-filename {
  font-size: 12px;
  opacity: 0.9;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

/* Error Message Styles */
.field-error {
  color: var(--error-color);
  font-size: 11px;
  margin-top: 4px;
  display: none;
  line-height: 1.4;
  padding-left: 2px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.2s ease-in-out;
}

.field-error.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Error state for form controls */
.form-control.has-error,
.form-select.has-error {
  border-color: var(--error-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.has-error:focus,
.form-select.has-error:focus {
  border-color: var(--error-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Error state for form groups */
.form-group.has-error .form-label {
  color: var(--error-color);
}

/* Smooth scrolling enhancement */
html {
  scroll-behavior: smooth;
}

/* Mandatory field asterisk styling */
.mandatory-field {
  position: relative;
  font-weight: 500;
}

/* Style the asterisk span for mandatory fields */
.mandatory-asterisk {
  color: var(--text-color);
  font-weight: 400;
  margin-left: 2px;
  font-size: 14px;
}

/* ========================================
   WEB-ONLY STYLES - MODERN DESIGN
   ======================================== */

/* Web platform visibility */
.web-only {
  display: none; /* Hidden by default */
}

/* Show web-only elements when web platform is active */
body.web .web-only {
  display: block;
}

/* Hide android and ios elements when web platform is active */
body.web .android-only,
body.web .ios-only {
  display: none !important;
}

/* Hide all existing sections when Web platform is active */
body.web .config-section:not(.web-only) {
  display: none !important;
}

/* Hide form actions when Web platform is active (since Web has its own) */
body.web .form-actions {
  display: none !important;
}

/* Modern Web Container */
.modern-web-container {
  max-width: 1200px;
  margin: 0 auto;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Utility Classes */
.space-y-6 > * + * { margin-top: 24px; }
.space-y-4 > * + * { margin-top: 16px; }
.space-y-3 > * + * { margin-top: 12px; }
.space-y-8 > * + * { margin-top: 32px; }

.gap-6 { gap: 24px; }
.gap-4 { gap: 16px; }
.gap-2 { gap: 8px; }

.hidden {
  display: none !important;
}

/* Layout */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.flex { display: flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-end { justify-content: flex-end; }

/* Colors & Backgrounds */
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-blue-50 { background-color: #eff6ff; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-500 { background-color: #3b82f6; }

.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; font-size: 17px !important; font-weight: 400 !important; }
.text-gray-900 { color: #111827; }
.text-blue-800 { color: #1e40af; }
.text-white { color: #ffffff; }

.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }
.border-blue-200 { border-color: #c3ddfd; }

/* Cards & Containers */
.rounded-lg { border-radius: 8px; }
.rounded-md { border-radius: 6px; }
.rounded { border-radius: 4px; }

.shadow-sm { 
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); 
}

.shadow-lg { 
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05); 
}

.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-dashed { border-style: dashed; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }

/* Spacing */
.p-8 { padding: 32px; }
.p-6 { padding: 24px; }
.p-4 { padding: 16px; }
.p-3 { padding: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-1 { padding-left: 4px; padding-right: 4px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.pb-4 { padding-bottom: 16px; }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }

/* Typography */
.text-sm { font-size: 14px; line-height: 20px; }
.text-xs { font-size: 12px; line-height: 16px; }
.text-xl { font-size: 20px; line-height: 28px; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

.leading-none { line-height: 1; }
.text-left { text-align: left; }
.text-center { text-align: center; }

/* List Styles */
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }

/* Additional Spacing */
.space-y-1 > * + * { margin-top: 4px; }

/* Form Elements */
.modern-web-container input:not([type="checkbox"]),
.modern-web-container input[type="text"],
.modern-web-container input[type="email"],
.modern-web-container input[type="url"],
.modern-web-container input[type="password"],
.modern-web-container input[type="number"],
.modern-web-container input[type="search"],
.modern-web-container input[type="tel"],
.modern-web-container input[type="color"],
.modern-web-container select,
.modern-web-container textarea {
  appearance: none;
  background-color: #f3f3f5;
  border: none !important;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 20px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.modern-web-container input:not([type="checkbox"]):focus,
.modern-web-container input[type="text"]:focus,
.modern-web-container input[type="email"]:focus,
.modern-web-container input[type="url"]:focus,
.modern-web-container input[type="password"]:focus,
.modern-web-container input[type="number"]:focus,
.modern-web-container input[type="search"]:focus,
.modern-web-container input[type="tel"]:focus,
.modern-web-container select:focus,
.modern-web-container textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

.modern-web-container input[type="color"] {
  height: 36px;
  padding: 4px;
}

.modern-web-container input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background-color: #ffffff;
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  transition: all 0.2s ease;
}

.modern-web-container input[type="checkbox"]:checked {
  background-color: #00adb5;
  border-color: #d1d5db;
}

.modern-web-container input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.modern-web-container input[type="checkbox"]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

/* Checkbox container styling for Web */
.modern-web-container .flex.items-center.space-x-2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Buttons */
.modern-web-container button {
  background: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.modern-web-container button:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

/* Modern dropdown arrow styling for Web platform selects */
.modern-web-container select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23666666%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276,9 12,15 18,9%27%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px 16px !important;
  padding-right: 40px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

.modern-web-container select:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276,9 12,15 18,9%27%3E%3C/polyline%3E%3C/svg%3E") !important;
}

.modern-web-container select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%233b82f6%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276,9 12,15 18,9%27%3E%3C/polyline%3E%3C/svg%3E") !important;
}

/* Code Block */
.modern-web-container pre {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  font-size: 14px;
  overflow-x: auto;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
}

.modern-web-container code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 13px;
}

/* Collapsible Content */
.modern-web-container [data-content] {
  display: block;
  transition: all 0.3s ease-in-out;
  margin: 16px 0 0 0;
}

.modern-web-container [data-content].collapsed {
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Collapsible button styling */
.modern-web-container [data-toggle] {
  transition: background-color 0.2s ease;
}

.modern-web-container [data-toggle]:hover {
  background-color: #f9fafb !important;
}

/* Modern collapsible arrow styling for Web platform */
.modern-web-container [data-toggle] span {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23666666%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%279,18 15,12 9,6%27%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
  text-indent: -9999px; /* Hide the original text */
  overflow: hidden;
  transition: background-image 0.2s ease;
  color: transparent; /* Hide any text content */
}

/* Collapsed state - arrow points right (default) */
.modern-web-container [data-toggle][aria-expanded="false"] span,
.modern-web-container [data-toggle]:not([aria-expanded]) span {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23666666%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%279,18 15,12 9,6%27%3E%3C/polyline%3E%3C/svg%3E") !important;
}

/* Expanded state - arrow points down */
.modern-web-container [data-toggle][aria-expanded="true"] span {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23666666%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276,9 12,15 18,9%27%3E%3C/polyline%3E%3C/svg%3E") !important;
}

/* Hover effects for collapsed state */
.modern-web-container [data-toggle][aria-expanded="false"]:hover span,
.modern-web-container [data-toggle]:not([aria-expanded]):hover span {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%279,18 15,12 9,6%27%3E%3C/polyline%3E%3C/svg%3E") !important;
}

/* Hover effects for expanded state */
.modern-web-container [data-toggle][aria-expanded="true"]:hover span {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23333333%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276,9 12,15 18,9%27%3E%3C/polyline%3E%3C/svg%3E") !important;
}

/* Sticky positioning */
.sticky { position: sticky; }
.top-4 { top: 16px; }

/* Sizes */
.w-full { width: 100%; }
.h-9 { height: 36px; }
.w-4 { width: 16px; }
.h-4 { height: 16px; }
.w-10 { width: 40px; }
.h-10 { height: 40px; }

.max-w-sm { max-width: 384px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Additional utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.top-2 { top: 8px; }
.right-2 { right: 8px; }

.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }

.flex-1 { flex: 1 1 0%; }
.min-w-0 { min-width: 0; }

/* Responsive Design */
@media (max-width: 768px) {
  .modern-web-container {
    padding: 16px;
  }
  
  .modern-web-container .grid-cols-1.md\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

/* No Border Class */
.no-border {
  border: none !important;
}

/* Custom Dropdown for Web Platform */
.modern-web-container .custom-dropdown {
  position: relative;
  width: 100%;
}

.modern-web-container .custom-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  background-color: #f3f3f5;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.modern-web-container .custom-dropdown-trigger:hover {
  background-color: #ebebed;
}

.modern-web-container .custom-dropdown-trigger:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

.modern-web-container .custom-dropdown-arrow {
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23666666%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%276,9 12,15 18,9%27%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  transition: transform 0.2s ease;
}

.modern-web-container .custom-dropdown.open .custom-dropdown-arrow {
  transform: rotate(180deg);
}

.modern-web-container .custom-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
  max-height: 200px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  margin-top: 4px;
}

.modern-web-container .custom-dropdown.open .custom-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.modern-web-container .custom-dropdown-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.modern-web-container .custom-dropdown-option:hover {
  background-color: #f9fafb;
}

.modern-web-container .custom-dropdown-option.selected {
  background-color: #f3f4f6;
  font-weight: 500;
}

.modern-web-container .custom-dropdown-checkmark {
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2716%27 height=%2716%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23059669%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpolyline points=%2720,6 9,17 4,12%27%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.modern-web-container .custom-dropdown-option.selected .custom-dropdown-checkmark {
  opacity: 1;
}

/* Hide native selects in web platform */
.modern-web-container select.replaced-with-custom {
  display: none;
}

/* Web Form Error Styles */
.modern-web-container .error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgb(239 68 68 / 0.1) !important;
}

.modern-web-container .web-error-message {
  color: #ef4444;
  font-size: 14px;
  margin-top: 4px;
  display: block;
}

/* Override focus styles for error state */
.modern-web-container .error:focus {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgb(239 68 68 / 0.1) !important;
}

#web-generate-btn {
  background-color: #00adb5;
}

/* Modern anchor link styles for Other Integration Types */
.modern-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: #2563eb;
  background: transparent;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.modern-link:hover, .modern-link:focus {
  background: #eff6ff;
  box-shadow: 0 1px 4px 0 rgba(37,99,235,0.08);
  outline: none;
  text-decoration: underline;
}
.modern-link svg {
  margin-left: 0.25rem;
  vertical-align: middle;
  transition: transform 0.2s;
}
.modern-link:hover svg, .modern-link:focus svg {
  transform: translateY(-1px) scale(1.1);
}

/* Modern bullet point styles for Other Integration Types list */
#otherIntegrationInfo ul {
  padding-left: 0;
  margin-left: 0;
}
#otherIntegrationInfo ul li {
  list-style: none;
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 2.2rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  transition: box-shadow 0.2s, background 0.2s;
  box-shadow: 0 1px 4px 0 rgba(37,99,235,0.04);
  display: flex;
  align-items: center;
  min-height: 2.5rem;
}
#otherIntegrationInfo ul li::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.75rem;
  height: 0.75rem;
  background: linear-gradient(135deg, #2563eb 60%, #60a5fa 100%);
  border-radius: 50%;
  box-shadow: 0 1px 4px 0 rgba(37,99,235,0.10);
}
#otherIntegrationInfo ul li:hover, #otherIntegrationInfo ul li:focus-within {
  background: #e0e7ff;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.10);
}
#otherIntegrationInfo ul li .modern-link {
  flex: 1;
}

/* Modern bullet point styles for Other Integration Types list - TEAL THEME */
#otherIntegrationInfo ul li::before {
  background: linear-gradient(135deg, #14b8a6 60%, #2dd4bf 100%); /* teal-500 to teal-400 */
  box-shadow: 0 1px 4px 0 rgba(20,184,166,0.10);
}
#otherIntegrationInfo ul li {
  background: #f0fdfa; /* teal-50 */
  box-shadow: 0 1px 4px 0 rgba(20,184,166,0.04);
}
#otherIntegrationInfo ul li:hover, #otherIntegrationInfo ul li:focus-within {
  background: #ccfbf1; /* teal-100 */
  box-shadow: 0 2px 8px 0 rgba(20,184,166,0.10);
}
#otherIntegrationInfo ul li .modern-link {
  color: #14b8a6; /* teal-500 */
}
#otherIntegrationInfo ul li .modern-link svg {
  color: #2dd4bf; /* teal-400 */
  fill: none;
  stroke: currentColor;
}

/* Modern bullet point styles for Other Integration Types list - PRIMARY TEAL (#00adb5) THEME */
#otherIntegrationInfo ul li::before {
  background: linear-gradient(135deg, #00adb5 60%, #14b8a6 100%); /* primary teal to teal-500 */
  box-shadow: 0 1px 4px 0 rgba(0,173,181,0.10);
}
#otherIntegrationInfo ul li {
  background: #e0f7fa; /* light teal background */
  box-shadow: 0 1px 4px 0 rgba(0,173,181,0.04);
}
#otherIntegrationInfo ul li:hover, #otherIntegrationInfo ul li:focus-within {
  background: #b2ebf2; /* slightly deeper teal on hover */
  box-shadow: 0 2px 8px 0 rgba(0,173,181,0.10);
}
#otherIntegrationInfo ul li .modern-link {
  color: #00adb5; /* primary teal */
}
#otherIntegrationInfo ul li .modern-link svg {
  color: #00adb5;
  fill: none;
  stroke: currentColor;
}
