/**
 * 소셜 공유 기능 스타일시트
 * Match Meter - Social Sharing Styles
 */

/* ==========================================================================
   공유 버튼 스타일
   ========================================================================== */

.share-button {
  margin: 0.5rem auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 200px;
}

.share-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.share-button-text {
  font-weight: 600;
}

/* 모바일 최적화 */
@media (max-width: 767px) {
  .share-button {
    width: 100%;
    justify-content: center;
    min-height: 40px;
    font-size: 0.875rem;
    max-width: 180px;
    margin: 0.25rem auto 0 auto;
  }
  
  /* 모바일에서 이름을 좌우로 배치 */
  .share-names {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
  }
  
  .name-container {
    flex: 1;
    text-align: center;
  }
  
  .name1 {
    text-align: left;
  }
  
  .name2 {
    text-align: right;
  }
}

/* ==========================================================================
   공유 모달 스타일
   ========================================================================== */

.share-modal {
  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: 1000;
  opacity: 0;
  animation: fadeIn 0.2s ease forwards;
}

.share-modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 400px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
  transform: translateY(20px);
  animation: slideUp 0.3s ease forwards;
}

/* 모달 헤더 */
.share-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.share-modal-header h3 {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  font-family: var(--font-sans);
  color: var(--card-foreground);
}

.share-modal-close {
  background: none;
  border: none;
  font-size: var(--text-xl);
  color: var(--muted-foreground);
  cursor: pointer;
  padding: var(--space-1);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-modal-close:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

.share-modal-close:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* ==========================================================================
   공유 옵션 버튼들
   ========================================================================== */

.share-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 80px;
  box-shadow: var(--shadow-sm);
}

.share-option:hover {
  border-color: var(--ring);
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.share-option:focus {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-color: var(--ring);
}

.share-option:active {
  transform: translateY(0);
}

.share-icon {
  font-size: var(--text-2xl);
  line-height: 1;
}

.share-label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  font-family: var(--font-sans);
  color: var(--card-foreground);
  text-align: center;
}

/* 옵션 버튼 로딩 상태 */
.share-option.loading {
  opacity: 0.6;
  pointer-events: none;
  position: relative;
}

.option-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.option-spinner .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--muted);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* 플랫폼별 색상 */
.share-option[data-platform="kakao"]:hover {
  border-color: #fee500;
  background-color: #fffbeb;
}

.share-option[data-platform="facebook"]:hover {
  border-color: #1877f2;
  background-color: #eff6ff;
}

.share-option[data-platform="twitter"]:hover {
  border-color: #1da1f2;
  background-color: #eff6ff;
}

.share-option[data-platform="instagram"]:hover {
  border-color: #e4405f;
  background-color: #fef2f2;
}

.share-option[data-platform="copy"]:hover {
  border-color: #10b981;
  background-color: #f0fdf4;
}

.share-option[data-platform="image"]:hover {
  border-color: #8b5cf6;
  background-color: #faf5ff;
}

/* ==========================================================================
   공유용 결과 컨테이너
   ========================================================================== */

.share-result-container {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--border);
}

.share-header {
  margin-bottom: 1.5rem;
}

.app-branding {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  font-family: var(--font-sans);
}

.app-logo {
  font-size: var(--text-2xl);
}

.share-content {
  margin-bottom: 1.5rem;
}

.share-names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  font-family: var(--font-sans);
}

.heart {
  font-size: var(--text-4xl);
  animation: heartbeat 2s ease-in-out infinite;
}

.share-score {
  margin-bottom: 1.5rem;
}

.score-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.score-number {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  font-family: var(--font-sans);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.share-message {
  font-size: var(--text-lg);
  font-family: var(--font-sans);
  line-height: var(--leading-relaxed);
  opacity: 0.9;
}

.share-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.8;
  font-weight: 500;
}

.app-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.test-date {
  font-size: 0.75rem;
  opacity: 0.7;
}

.call-to-action {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
}

/* 공유용 컨테이너 테마 */
.share-theme-dark {
  background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
  color: white;
}

.share-theme-minimal {
  background: white;
  color: #374151;
  border: 2px solid #e5e7eb;
}

.share-theme-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
}

/* 공유용 컨테이너 크기 */
.share-size-small {
  padding: 1rem;
  max-width: 300px;
}

.share-size-medium {
  padding: 1.5rem;
  max-width: 400px;
}

.share-size-large {
  padding: 2rem;
  max-width: 500px;
}

/* 개선된 이름 섹션 */
.share-names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.name-container {
  flex: 1;
  text-align: center;
}

.name1, .name2 {
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
}

.heart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.score-emoji {
  font-size: 1.25rem;
}

/* 개선된 점수 섹션 */
.score-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.score-bar {
  width: 200px;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.score-progress {
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981);
  border-radius: 4px;
  transition: width 0.8s ease;
}

.score-label {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* 점수별 색상 */
.score-perfect { border-color: #10b981; }
.score-excellent { border-color: #3b82f6; }
.score-good { border-color: #8b5cf6; }
.score-average { border-color: #f59e0b; }
.score-fair { border-color: #f97316; }
.score-poor { border-color: #ef4444; }
.score-bad { border-color: #991b1b; }

/* 컴팩트 공유 스타일 */
.share-result-compact {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  max-width: 280px;
  margin: 0 auto;
}

.compact-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.compact-names {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.compact-score {
  font-size: 2rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 인스타그램 스토리 스타일 */
.share-instagram-story {
  width: 320px;
  height: 568px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
}

.story-background {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.story-perfect { background: linear-gradient(135deg, #10b981, #059669); }
.story-excellent { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.story-good { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.story-average { background: linear-gradient(135deg, #f59e0b, #d97706); }
.story-fair { background: linear-gradient(135deg, #f97316, #ea580c); }
.story-poor { background: linear-gradient(135deg, #ef4444, #dc2626); }
.story-bad { background: linear-gradient(135deg, #991b1b, #7f1d1d); }

.story-content {
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.story-logo {
  font-size: 1.5rem;
}

.story-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.story-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.story-names {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.story-heart {
  font-size: 1.5rem;
}

.story-score-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.story-percentage {
  font-size: 4rem;
  font-weight: 800;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.story-emoji {
  font-size: 2rem;
}

.story-label {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.9;
}

.story-footer {
  text-align: center;
}

.story-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

/* ==========================================================================
   텍스트 편집기 스타일
   ========================================================================== */

.text-editor-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  animation: fadeIn 0.2s ease forwards;
}

.text-editor-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  transform: translateY(20px);
  animation: slideUp 0.3s ease forwards;
}

.text-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.text-editor-header h3 {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  font-family: var(--font-sans);
  color: var(--card-foreground);
}

.text-editor-close {
  background: none;
  border: none;
  font-size: var(--text-xl);
  color: var(--muted-foreground);
  cursor: pointer;
  padding: var(--space-1);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-editor-close:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

.text-editor-body {
  padding: var(--space-6);
  max-height: 60vh;
  overflow-y: auto;
}

.text-editor-input-group {
  margin-bottom: var(--space-6);
}

.text-editor-label {
  display: block;
  font-weight: var(--font-semibold);
  font-family: var(--font-sans);
  color: var(--card-foreground);
  margin-bottom: var(--space-2);
}

.text-editor-textarea {
  width: 100%;
  min-height: 120px;
  padding: var(--space-3);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  background: var(--input);
  color: var(--foreground);
  line-height: var(--leading-relaxed);
  resize: vertical;
  transition: border-color var(--transition-base);
}

.text-editor-textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px var(--ring);
}

.text-editor-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.character-count {
  color: var(--muted-foreground);
  font-family: var(--font-sans);
}

.current-count.warning {
  color: var(--destructive);
  font-weight: var(--font-semibold);
}

.current-count.caution {
  color: var(--chart-4);
  font-weight: var(--font-semibold);
}

.text-status.warning {
  color: var(--destructive);
}

.text-status.caution {
  color: var(--chart-4);
}

.text-editor-suggestions {
  margin-bottom: 1.5rem;
}

.suggestions-header {
  font-weight: var(--font-semibold);
  font-family: var(--font-sans);
  color: var(--card-foreground);
  margin-bottom: var(--space-3);
}

.hashtag-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hashtag-btn {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  color: var(--secondary-foreground);
  cursor: pointer;
  transition: all var(--transition-base);
}

.hashtag-btn:hover {
  background: var(--accent);
  color: var(--accent-foreground);
  border-color: var(--ring);
}

.hashtag-btn:active {
  background: var(--primary);
  color: var(--primary-foreground);
}

.text-editor-preview {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.preview-header {
  background: var(--muted);
  padding: var(--space-3);
  font-weight: var(--font-semibold);
  font-family: var(--font-sans);
  color: var(--card-foreground);
  border-bottom: 1px solid var(--border);
}

.preview-content {
  padding: var(--space-4);
  min-height: 80px;
  background: var(--card);
}

/* 플랫폼별 미리보기 스타일 */
.preview-twitter {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.tweet-content {
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.tweet-link {
  color: #1da1f2;
  font-size: 0.875rem;
}

.preview-facebook {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.fb-post-text {
  margin-bottom: 1rem;
  line-height: 1.4;
}

.fb-link-preview {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem;
  background: #f9fafb;
}

.fb-link-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.fb-link-url {
  color: #6b7280;
  font-size: 0.875rem;
}

.preview-kakao {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.kakao-message {
  margin-bottom: 1rem;
  line-height: 1.4;
}

.kakao-link {
  background: #fee500;
  border-radius: 8px;
  padding: 0.75rem;
}

.kakao-link-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.kakao-link-desc {
  font-size: 0.875rem;
  color: #374151;
}

.preview-default {
  line-height: 1.4;
}

.preview-text {
  margin-bottom: 0.75rem;
}

.preview-url {
  color: #3b82f6;
  font-size: 0.875rem;
}

.text-editor-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-4);
  padding: var(--space-6);
  border-top: 1px solid var(--border);
  background: var(--muted);
}

.text-editor-btn {
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-weight: var(--font-semibold);
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  box-shadow: var(--shadow-sm);
}

.text-editor-btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
  border: 1px solid var(--border);
}

.text-editor-btn-secondary:hover {
  background: var(--accent);
  color: var(--accent-foreground);
  border-color: var(--ring);
  box-shadow: var(--shadow);
}

.text-editor-btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid var(--border);
}

.text-editor-btn-primary:hover {
  background: var(--chart-1);
  box-shadow: var(--shadow-md);
}

.text-editor-btn-primary:disabled {
  background: var(--muted);
  color: var(--muted-foreground);
  cursor: not-allowed;
  box-shadow: none;
}

/* 모바일 최적화 */
@media (max-width: 767px) {
  .text-editor-content {
    width: 95%;
    max-height: 95vh;
  }

  .text-editor-header,
  .text-editor-body,
  .text-editor-footer {
    padding: 1rem;
  }

  .text-editor-textarea {
    min-height: 100px;
  }

  .hashtag-buttons {
    gap: 0.25rem;
  }

  .hashtag-btn {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }

  .text-editor-footer {
    flex-direction: column;
  }

  .text-editor-btn {
    width: 100%;
  }
}

/* ==========================================================================
   애니메이션
   ========================================================================== */

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ==========================================================================
   모바일 최적화
   ========================================================================== */

@media (max-width: 767px) {
  .share-modal-content {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .share-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .share-option {
    padding: 0.75rem;
    min-height: 70px;
  }

  .share-icon {
    font-size: 1.25rem;
  }

  .share-label {
    font-size: 0.8rem;
  }

  .share-result-container {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .share-names {
    font-size: 1.25rem;
    gap: 0.75rem;
  }

  .heart {
    font-size: 1.5rem;
  }

  .score-circle {
    width: 100px;
    height: 100px;
  }

  .score-number {
    font-size: 2rem;
  }

  .share-message {
    font-size: 1rem;
  }
}

/* 매우 작은 화면 */
@media (max-width: 480px) {
  .share-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }

  .share-option {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: 60px;
    padding: 0.5rem;
  }

  .share-icon {
    font-size: 1.25rem;
  }

  .share-label {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   접근성 개선
   ========================================================================== */

/* 고대비 모드 지원 */
@media (prefers-contrast: high) {
  .share-option {
    border-width: 3px;
  }

  .share-option:focus {
    outline-width: 4px;
  }
}

/* 애니메이션 감소 모드 지원 */
@media (prefers-reduced-motion: reduce) {
  .share-modal,
  .share-modal-content,
  .share-option,
  .share-button,
  .heart {
    animation: none;
    transition: none;
  }

  .share-option:hover,
  .share-button:hover {
    transform: none;
  }
}

/* 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
  .share-option:hover {
    transform: none;
    box-shadow: none;
  }

  .share-option:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
}

/* ==========================================================================
   로딩 및 피드백 상태
   ========================================================================== */

.share-loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

.share-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* 터치 피드백 */
.touch-active {
  transform: scale(0.96) !important;
  transition: transform 0.1s ease-out !important;
}

/* 모달 애니메이션 개선 */
.share-modal {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.share-modal.show {
  opacity: 1;
}

.share-modal.hiding {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.share-modal-content {
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.share-modal.show .share-modal-content {
  transform: translateY(0) scale(1);
}

/* 성공/오류 피드백 */
.share-feedback {
  position: fixed;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  color: var(--primary-foreground);
  font-weight: var(--font-semibold);
  font-family: var(--font-sans);
  z-index: 1001;
  animation: slideUpFade 0.3s ease;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.share-feedback.success {
  background-color: var(--chart-3);
}

.share-feedback.error {
  background-color: var(--destructive);
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}