/* Toast animation */
@keyframes fadeInOut {
  0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
  15% { opacity: 1; transform: translateX(-50%) translateY(0); }
  85% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
}

.questionnaire-toast {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Share section styling */
.share-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
}

.share-section h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.share-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.2s, opacity 0.2s;
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.copy-btn {
  background: #4A5568;
  color: white;
}

.mailto-btn {
  background: #2D3748;
  color: white;
}

.send-btn {
  background: #805AD5;
  color: white;
}

.share-via-us {
  padding: 1rem;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.share-via-us input[type="email"],
.share-via-us input[type="text"],
.share-via-us select {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: inherit;
  box-sizing: border-box;
}

/* Consent label - checkbox and text on same line */
.share-section .consent-label,
.share-via-us .consent-label,
label.consent-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  cursor: pointer;
  width: auto;
}

/* Checkbox inside consent label */
.consent-label input[type="checkbox"],
.share-via-us input[type="checkbox"] {
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
  vertical-align: middle;
}

/* Text next to checkbox */
.consent-label span {
  display: inline !important;
  margin: 0 !important;
}

/* Email options section */
.email-options {
  margin-bottom: 1.5rem;
}

.email-options h4 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.email-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.gmail-btn {
  background: #EA4335;
  color: white;
}

.outlook-btn {
  background: #0078D4;
  color: white;
}

.social-share {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.social-share h4 {
  width: 100%;
  margin-bottom: 0.5rem;
}

.social-share button {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  transition: transform 0.2s, opacity 0.2s;
}

.social-share button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
