/* First Visit Modal Styles */
.first-visit-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.first-visit-modal-overlay.visible {
  opacity: 1;
}

.first-visit-modal-overlay.closing {
  opacity: 0;
}

.first-visit-modal {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.first-visit-modal-overlay.visible .first-visit-modal {
  transform: translateY(0);
}

.first-visit-modal-header {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.modal-logo {
  background-color: #CC0000;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
}

.modal-logo span {
  font-size: 20px;
}

.first-visit-modal-header h3 {
  margin: 0;
  font-size: 18px;
  flex-grow: 1;
}

.modal-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

.modal-close-btn:hover {
  background-color: #f3f4f6;
  color: #111827;
}

.first-visit-modal-body {
  padding: 24px;
}

.feature-section {
  display: flex;
  margin-bottom: 24px;
}

.feature-section:last-child {
  margin-bottom: 0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
}

.feature-icon span {
  font-size: 24px;
  color: #4F46E5;
}

.feature-text h4 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #111827;
}

.feature-text p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.first-visit-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
}

/* Experimental feature styling */
.experimental-feature {
  background-color: #f9fafb;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  border-left: 3px solid #4F46E5;
}

.experimental-badge {
  display: inline-block;
  background-color: #f97316;
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.5px;
}

.experimental-toggle {
  margin-top: 12px;
}

.experimental-toggle .neo-switch {
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .first-visit-modal {
    width: 95%;
  }
  
  .feature-section {
    flex-direction: column;
  }
  
  .feature-icon {
    margin-bottom: 12px;
  }
}