/**
 * BellyFly Embed Widget Styles
 *
 * Coterie-inspired design: soft, light, airy aesthetic
 */

.bellyfly-widget {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: #FFFCFA;
  border: 1px solid #F5E6E6;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  max-width: 600px;
  color: #4A4543;
  line-height: 1.6;
}

/* Header */
.bellyfly-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #F5E6E6;
}

.bellyfly-widget-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bellyfly-widget-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.bellyfly-widget-brand {
  font-size: 1.125rem;
  font-weight: 500;
  color: #E49B9B;
  letter-spacing: -0.01em;
}

.bellyfly-widget-badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: #8B8482;
  background: #F5F5F3;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Content */
.bellyfly-widget-content {
  margin-bottom: 1rem;
}

.bellyfly-widget-title {
  font-size: 1.25rem;
  font-weight: 400;
  color: #4A4543;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

/* Tips List */
.bellyfly-widget-tips {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.bellyfly-widget-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #FFF9F9 0%, #FFFCFA 100%);
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bellyfly-widget-tip:hover {
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(228, 155, 155, 0.08);
}

.bellyfly-widget-tip:last-child {
  margin-bottom: 0;
}

.bellyfly-widget-tip-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #E49B9B;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.125rem;
}

.bellyfly-widget-tip-text {
  font-size: 0.9375rem;
  font-weight: 300;
  color: #4A4543;
  line-height: 1.5;
}

/* CTA Section */
.bellyfly-widget-cta {
  background: linear-gradient(135deg, #FFF5F5 0%, #FFFAF8 100%);
  border: 1px solid #F5E6E6;
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.bellyfly-widget-cta-text {
  font-size: 1rem;
  font-weight: 400;
  color: #4A4543;
  margin: 0 0 1rem 0;
  text-align: center;
}

/* Form */
.bellyfly-widget-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.bellyfly-widget-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #E8D8D8;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-family: inherit;
  background: white;
  color: #4A4543;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bellyfly-widget-input:focus {
  outline: none;
  border-color: #E49B9B;
  box-shadow: 0 0 0 3px rgba(228, 155, 155, 0.1);
}

.bellyfly-widget-input::placeholder {
  color: #B8B0AE;
}

.bellyfly-widget-button {
  padding: 0.75rem 1.5rem;
  background: #E49B9B;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.1s ease;
}

.bellyfly-widget-button:hover {
  background: #D88A8A;
  transform: translateY(-1px);
}

.bellyfly-widget-button:active {
  transform: translateY(0);
}

.bellyfly-widget-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.bellyfly-widget-privacy {
  font-size: 0.8125rem;
  color: #8B8482;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* Footer */
.bellyfly-widget-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #F5E6E6;
  text-align: center;
}

.bellyfly-widget-link {
  font-size: 0.8125rem;
  color: #B8B0AE;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bellyfly-widget-link:hover {
  color: #E49B9B;
}

/* Responsive */
@media (max-width: 640px) {
  .bellyfly-widget {
    padding: 1.25rem;
    margin: 1rem 0;
  }

  .bellyfly-widget-form {
    flex-direction: column;
  }

  .bellyfly-widget-button {
    width: 100%;
  }

  .bellyfly-widget-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* Loading Animation */
@keyframes bellyfly-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.bellyfly-widget-loading {
  animation: bellyfly-pulse 1.5s ease-in-out infinite;
}
