.bg-red-600 {
  background: #08ca80;
}

.bg-blue {
  background-color: blue;
}

.mt-10 {
  margin-top: 10px;
}

/* ===== BUTTON STYLES GALLERY ===== */
.button-styles-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 24px 0 32px 0;
}

.button-style-card {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button-style-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.button-style-label {
  display: block;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.button-style-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.02) 0%, rgba(37, 211, 102, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.button-style-label:hover {
  border-color: #25d366;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(37, 211, 102, 0.12);
}

.button-style-label:hover::before {
  opacity: 1;
}

/* Style Number Badge */
.style-number {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 3;
  transition: all 0.3s ease;
}

.button-style-card:hover .style-number {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
}

/* Selection Indicator */
.style-selection-indicator {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 24px;
  height: 24px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 3;
}

.style-selection-indicator svg {
  color: white;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
}

/* Button Preview Container */
.button-preview-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 12px 0;
  position: relative;
  z-index: 2;
}

/* Active State */
.button-style-card.active .button-style-label {
  border-color: #25d366;
  border-width: 3px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.05) 0%, rgba(37, 211, 102, 0.08) 100%);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1),
              0 8px 16px rgba(37, 211, 102, 0.15);
}

.button-style-card.active .button-style-label::before {
  opacity: 1;
}

.button-style-card.active .style-selection-indicator {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-color: #25d366;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

.button-style-card.active .style-selection-indicator svg {
  opacity: 1;
  transform: scale(1);
}

.button-style-card.active .style-number {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

/* Responsive Design for Button Gallery */
@media (max-width: 640px) {
  .button-styles-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
  
  .button-style-label {
    padding: 12px;
    min-height: 100px;
  }
  
  .button-preview-container {
    min-height: 60px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .button-styles-gallery {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}


.button-grid .button-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #dadada;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 20px;
}

/* Green glass effect */
.button-demo.active {
  background: rgba(37, 211, 102, 0.2);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(37, 211, 102, 0.5);
}

/* ===== PREMIUM POSITION CARDS ===== */
.position-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 24px 0;
  max-width: 1200px;
}

.position-card {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.position-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.position-card-label {
  display: block;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.position-card-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.03) 0%, rgba(37, 211, 102, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.position-card-label:hover {
  border-color: #25d366;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.15);
}

.position-card-label:hover::before {
  opacity: 1;
}

/* Recommended Badge */
.recommended-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 12px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

/* Browser Mockup */
.browser-mockup {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.browser-chrome {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #cbd5e1;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dot.red {
  background: linear-gradient(135deg, #ff5f57 0%, #ff3b30 100%);
}

.dot.yellow {
  background: linear-gradient(135deg, #ffbd2e 0%, #ffa500 100%);
}

.dot.green {
  background: linear-gradient(135deg, #28ca42 0%, #25d366 100%);
}

.browser-url {
  flex: 1;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 10px;
  color: #64748b;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.browser-content {
  background: white;
  padding: 16px;
  min-height: 140px;
  position: relative;
}

.content-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.line {
  height: 8px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 100%);
  border-radius: 4px;
  animation: shimmer 2s infinite;
}

.line.header {
  width: 60%;
  height: 12px;
  background: linear-gradient(90deg, #cbd5e1 0%, #e2e8f0 100%);
}

.line.short {
  width: 40%;
}

@keyframes shimmer {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* WhatsApp Button Preview */
.whatsapp-button-preview {
  position: absolute;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4),
              0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: float 3s ease-in-out infinite;
}

.whatsapp-button-preview::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.3) 0%, rgba(18, 140, 126, 0.3) 100%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.position-card:hover .whatsapp-button-preview::before {
  opacity: 1;
  animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Position-specific placements */
.whatsapp-button-preview.bottom-right {
  bottom: 12px;
  right: 12px;
}

.whatsapp-button-preview.bottom-left {
  bottom: 12px;
  left: 12px;
}

.whatsapp-button-preview.top-right {
  top: 12px;
  right: 12px;
}

.whatsapp-button-preview.top-left {
  top: 12px;
  left: 12px;
}

/* Card Info */
.card-info {
  padding: 4px 0;
}

.position-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.position-description {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Selection Indicator */
.selection-indicator {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 28px;
  height: 28px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 5;
}

.selection-indicator svg {
  color: white;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
}

/* Active State */
.position-card.active .position-card-label {
  border-color: #25d366;
  border-width: 3px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.05) 0%, rgba(37, 211, 102, 0.1) 100%);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.1),
              0 12px 24px rgba(37, 211, 102, 0.2);
}

.position-card.active .position-card-label::before {
  opacity: 1;
}

.position-card.active .selection-indicator {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-color: #25d366;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.position-card.active .selection-indicator svg {
  opacity: 1;
  transform: scale(1);
}

.position-card.active .whatsapp-button-preview {
  animation: float 3s ease-in-out infinite, pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4),
                0 2px 4px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6),
                0 4px 8px rgba(0, 0, 0, 0.15);
  }
}

.position-card.active .position-title {
  color: #059669;
}

/* Responsive Design */
@media (max-width: 768px) {
  .position-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .browser-content {
    min-height: 120px;
  }
  
  .whatsapp-button-preview {
    width: 40px;
    height: 40px;
  }
  
  .whatsapp-button-preview svg {
    width: 16px;
    height: 16px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .position-cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}


