/* Widget Styles */
.solutions-widget-container {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  pointer-events: none;
}
.solutions-widget {
  background: white;
  border-radius: 16px 0 0 16px;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  width: 400px;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  overflow: hidden;
  opacity: 0;
}
.solutions-widget.collapsed {
  width: 0;
  box-shadow: none;
  opacity: 0;
}
.widget-toggle {
  position: absolute;
  left: -48px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  width: 48px;
  height: auto;
  border-radius: 12px 0 0 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  transition: background 0.3s;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 16px 8px;
}
.widget-toggle:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}
.widget-toggle-icon {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
  transition: transform 0.3s;
}
.widget-toggle.expanded .widget-toggle-icon {
  transform: rotate(180deg);
}
.widget-toggle-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.widget-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 24px;
  text-align: center;
}
.widget-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
}
.widget-subtitle {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}
.widget-content {
  flex: 1;
  overflow: hidden;
  padding: 24px;
}
.swiper {
  width: 100%;
  height: 100%;
}
.solution-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  flex: 0 0 auto;
}
.solution-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.solution-title {
  font-size: 22px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 12px;
}
.solution-description {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 20px;
}
.solution-link {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  -webkit-text-decoration: none;
  text-decoration: none;
  border-radius: 24px;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}
.solution-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.swiper-pagination {
  bottom: 16px !important;
}
.swiper-slide {
  height: auto !important;
}
.swiper {
  padding-bottom: 34px;
}
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ddd;
  opacity: 1;
  transition: all 0.3s;
}
.swiper-pagination-bullet-active {
  background: #667eea;
  width: 24px;
  border-radius: 4px;
}
.widget-badge {
  /* position: absolute;
        top: 8px;
        right: 8px; */
  margin-bottom: 12px;
  background: #ff4757;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@media (max-width: 768px) {
  .solutions-widget {
    width: calc(100vw - 48px);
    border-radius: 16px 0 0 16px;
  }

  .widget-toggle {
    left: -40px;
    width: 40px;
    height: auto;
  }
}
