/* Components - Buttons, Cards, Forms, etc. */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  border: none;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  min-height: 48px;
}

.btn-primary {
  background-color: var(--color-terra);
  color: white;
}

.btn-primary:hover {
  background-color: #c16752;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-sage);
  color: white;
}

.btn-secondary:hover {
  background-color: #7a8a6f;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-charcoal);
  border: 2px solid var(--color-charcoal);
}

.btn-outline:hover {
  background-color: var(--color-charcoal);
  color: var(--color-cream);
}

/* Floating Action Button (FAB) */
.fab {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-terra);
  color: white;
  font-size: var(--text-2xl);
  box-shadow: var(--shadow-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fab:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

/* Cards */
.card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0 0 var(--space-2) 0;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.card-notes {
  font-family: var(--font-handwritten);
  font-size: var(--text-lg);
  color: var(--color-charcoal);
  line-height: 1.6;
  margin: var(--space-4) 0 0 0;
}

/* Category Badge */
.category-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: white;
}

.category-badge.coffee { background-color: var(--color-coffee); }
.category-badge.bar { background-color: var(--color-bar); }
.category-badge.restaurant { background-color: var(--color-restaurant); }
.category-badge.event { background-color: var(--color-event); }

/* Category Icon Button */
.category-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  border: 2px solid #E0E0E0;
  border-radius: var(--border-radius-md);
  background-color: white;
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: var(--text-3xl);
  min-width: 80px;
  min-height: 80px;
}

.category-icon-btn:hover {
  border-color: var(--color-charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-icon-btn.active {
  border-color: var(--color-terra);
  background-color: rgba(212, 116, 95, 0.05);
  border-width: 3px;
}

.category-icon-btn.active.coffee { border-color: var(--color-coffee); background-color: rgba(139, 111, 71, 0.05); }
.category-icon-btn.active.bar { border-color: var(--color-bar); background-color: rgba(107, 91, 149, 0.05); }
.category-icon-btn.active.restaurant { border-color: var(--color-restaurant); background-color: rgba(212, 116, 95, 0.05); }
.category-icon-btn.active.event { border-color: var(--color-event); background-color: rgba(232, 181, 93, 0.05); }

.category-icon-btn .label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-charcoal);
}

/* Star Rating */
.star-rating {
  display: flex;
  gap: var(--space-1);
  font-size: var(--text-2xl);
}

.star {
  cursor: pointer;
  color: #E0E0E0;
  transition: all var(--transition-fast);
}

.star.filled {
  color: var(--color-honey);
}

.star:hover {
  color: var(--color-honey);
  transform: scale(1.2);
}

.star:active {
  transform: scale(1.1);
}

/* Star Rating Display (non-interactive) */
.star-rating-display {
  display: flex;
  gap: var(--space-1);
  font-size: var(--text-lg);
}

.star-rating-display .star {
  cursor: default;
}

/* Forms */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.required-mark {
  color: var(--color-terra);
  font-weight: 600;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  border: 2px solid #E0E0E0;
  border-radius: var(--border-radius-sm);
  background-color: white;
  transition: all var(--transition-base);
  min-height: 48px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-terra);
  box-shadow: 0 0 0 3px rgba(212, 116, 95, 0.1);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--color-terra);
  background-color: rgba(212, 116, 95, 0.05);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-handwritten);
  font-size: var(--text-lg);
  line-height: 1.8;
}

.error-message {
  font-family: var(--font-handwritten);
  font-size: var(--text-lg);
  color: var(--color-terra);
  margin-top: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background-color: rgba(212, 116, 95, 0.05);
  border-radius: var(--border-radius-sm);
  display: none;
}

.error-message:not(:empty) {
  display: block;
}

.form-hint {
  font-size: var(--text-sm);
  color: #666;
  margin-top: var(--space-2);
  font-style: italic;
}

/* Filter Chips */
.filter-chips {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 2px solid #E0E0E0;
  background-color: white;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  min-height: 40px;
}

.filter-chip:hover {
  border-color: var(--color-charcoal);
  transform: translateY(-1px);
}

.filter-chip.active {
  background-color: var(--color-charcoal);
  color: white;
  border-color: var(--color-charcoal);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: var(--space-12);
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: var(--space-4);
  opacity: 0.3;
}

.empty-state-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.empty-state-text {
  font-size: var(--text-base);
  color: #666;
  margin-bottom: var(--space-6);
}

/* Recommendation Card */
.recommendation-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-sage);
  margin-bottom: var(--space-4);
}

.recommendation-reason {
  font-size: var(--text-sm);
  color: var(--color-sage);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

/* Success Toast */
.success-toast {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-honey) 100%);
  color: white;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-base);
  z-index: 1000;
  animation: slideInBounce 0.5s ease-out;
}

@keyframes slideInBounce {
  0% {
    transform: translateX(400px);
    opacity: 0;
  }
  60% {
    transform: translateX(-20px);
    opacity: 1;
  }
  80% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
  }
}

.success-toast.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Event Components */

/* Time Filter Tabs */
.time-filter-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
  border-bottom: 2px solid #E0E0E0;
  padding-bottom: var(--space-2);
}

.time-tab {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-charcoal);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-base);
  margin-bottom: -2px;
}

.time-tab:hover {
  color: var(--color-terra);
}

.time-tab.active {
  color: var(--color-terra);
  border-bottom-color: var(--color-terra);
}

/* Events Grid */
.events-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

/* Event Card */
.event-card {
  display: flex;
  gap: var(--space-4);
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-honey);
  transition: all var(--transition-base);
  animation: fadeInUp 0.4s ease-out backwards;
}

.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Event Date Block */
.event-date-block {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background-color: var(--color-terra);
  border-radius: var(--border-radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: var(--shadow-sm);
}

.event-date-day {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1;
}

.event-date-month {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: var(--space-1);
}

/* Event Content */
.event-content {
  flex: 1;
  min-width: 0;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.event-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0;
  line-height: 1.3;
  transition: color var(--transition-base);
}

.event-title:hover {
  color: var(--color-terra);
}

.event-badges {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* Freshness Badges */
.freshness-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--border-radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
}

.badge-new {
  background-color: var(--color-honey);
  animation: pulse 2s ease-in-out infinite;
}

.badge-ending {
  background-color: var(--color-terra);
}

.badge-weekend {
  background-color: var(--color-sage);
}

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

/* Event Meta */
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: #666;
}

.event-type-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--border-radius-full);
  font-size: var(--text-xs);
  font-weight: 500;
  background-color: #F5F5F5;
  color: var(--color-charcoal);
}

.event-type-badge.concerts {
  background-color: rgba(139, 111, 71, 0.1);
  color: var(--color-coffee);
}

.event-type-badge.exhibitions {
  background-color: rgba(212, 116, 95, 0.1);
  color: var(--color-restaurant);
}

.event-type-badge.markets {
  background-color: rgba(232, 181, 93, 0.1);
  color: #D4A832;
}

.event-type-badge.popups {
  background-color: rgba(107, 91, 149, 0.1);
  color: var(--color-bar);
}

.event-type-badge.food {
  background-color: rgba(139, 154, 126, 0.1);
  color: var(--color-sage);
}

.event-location {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* Event Description */
.event-description {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: #666;
  line-height: 1.6;
  margin: 0 0 var(--space-3) 0;
}

/* Event Footer */
.event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-3);
  border-top: 1px solid #F0F0F0;
  font-size: var(--text-sm);
  color: #999;
}

.event-venue {
  font-weight: 500;
  color: #666;
}

.event-duration {
  font-style: italic;
}

/* Proximity Badge (for events near loved places) */
.event-card.near-favorite {
  border-left-color: var(--color-sage);
  background: linear-gradient(135deg, white 0%, rgba(139, 154, 126, 0.02) 100%);
}

.proximity-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--border-radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  background-color: var(--color-sage);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .event-card {
    flex-direction: column;
  }

  .event-date-block {
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3);
  }

  .event-date-month {
    margin-top: 0;
  }

  .event-header {
    flex-direction: column;
  }

  .time-filter-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }
}

/* Preferences Drawer */
.preferences-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
  max-height: 85vh;
  overflow-y: auto;
}

.preferences-drawer.open { transform: translateY(0); }

.preferences-drawer-handle {
  width: 40px;
  height: 4px;
  background: #E0E0E0;
  border-radius: var(--border-radius-full);
  margin: var(--space-3) auto var(--space-4);
}

.preferences-drawer-header {
  padding: 0 var(--space-6) var(--space-4);
  border-bottom: 2px solid rgba(43, 43, 43, 0.08);
}

.preferences-drawer-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-charcoal);
}

.preferences-drawer-content { padding: var(--space-6); }

.preferences-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(43, 43, 43, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
  z-index: 199;
}

.preferences-backdrop.visible { opacity: 1; visibility: visible; }

/* Preference Chips */
.pref-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  max-height: 200px;
  overflow-y: auto;
  padding: var(--space-2);
  background: var(--color-cream);
  border-radius: var(--border-radius-md);
}

.pref-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 2px solid #E0E0E0;
  background-color: white;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: all var(--transition-base);
  user-select: none;
}

.pref-chip:hover { border-color: var(--color-sage); }
.pref-chip.selected {
  background-color: var(--color-sage);
  color: white;
  border-color: var(--color-sage);
}
.pref-chip.selected::before { content: ''; }

.pref-section { margin-bottom: var(--space-6); }

.pref-section-label {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: var(--space-3);
}

.pref-section-hint {
  font-family: var(--font-handwritten);
  font-size: var(--text-base);
  color: var(--color-sage);
  margin-bottom: var(--space-3);
}

/* Timing Toggles */
.pref-toggle-group {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.pref-toggle {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 2px solid #E0E0E0;
  background: white;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: all var(--transition-base);
}

.pref-toggle.active {
  background: var(--color-honey);
  border-color: var(--color-honey);
  color: white;
}

/* Save Button */
.save-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.save-btn:hover { transform: scale(1.15); }
.save-btn:active { transform: scale(0.95); }

.save-btn-icon {
  font-size: var(--text-2xl);
  transition: all var(--transition-base);
}

.save-btn .save-btn-icon.empty { opacity: 0.4; }
.save-btn .save-btn-icon.filled {
  position: absolute;
  opacity: 0;
  transform: scale(0);
}

.save-btn.saved .save-btn-icon.empty { opacity: 0; transform: scale(0); }
.save-btn.saved .save-btn-icon.filled {
  opacity: 1;
  transform: scale(1);
  color: var(--color-terra);
}

@keyframes savePopIn {
  0% { transform: scale(0.5); opacity: 0; }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); opacity: 1; }
}

.save-btn.just-saved .save-btn-icon.filled {
  animation: savePopIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.save-btn-large {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--border-radius-full);
  font-size: var(--text-base);
  font-weight: 500;
  border: 2px solid var(--color-terra);
  background: white;
  color: var(--color-terra);
  cursor: pointer;
  transition: all var(--transition-base);
}

.save-btn-large:hover {
  background: rgba(212, 116, 95, 0.05);
  transform: translateY(-1px);
}

.save-btn-large.saved {
  background: var(--color-terra);
  color: white;
}

/* Recommendations */
.reco-hero {
  background: linear-gradient(135deg, var(--color-sage) 0%, #6B8A5E 100%);
  border-radius: var(--border-radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  color: white;
  position: relative;
  overflow: hidden;
}

.reco-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.reco-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  position: relative;
}

.reco-hero-subtitle {
  font-family: var(--font-handwritten);
  font-size: var(--text-xl);
  opacity: 0.9;
  position: relative;
}

.reco-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-sage);
  margin-bottom: var(--space-4);
  position: relative;
  transition: all var(--transition-base);
  animation: recoReveal 0.5s ease-out backwards;
}

.reco-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.reco-card:nth-child(1) { animation-delay: 0.1s; }
.reco-card:nth-child(2) { animation-delay: 0.2s; }
.reco-card:nth-child(3) { animation-delay: 0.3s; }
.reco-card:nth-child(4) { animation-delay: 0.4s; }
.reco-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes recoReveal {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.reco-reason {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: linear-gradient(135deg, rgba(139, 154, 126, 0.15) 0%, rgba(139, 154, 126, 0.05) 100%);
  border-radius: var(--border-radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-sage);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reco-reason::before { content: ''; }

.reco-match {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 48px;
  height: 48px;
  background: var(--color-cream);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-sage);
}

.reco-match-score {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-sage);
  line-height: 1;
}

.reco-match-label {
  font-size: 8px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Nav Preferences Button */
.nav-prefs-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--border-radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 2px solid var(--color-sage);
  background: transparent;
  color: var(--color-sage);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.nav-prefs-btn:hover {
  background: var(--color-sage);
  color: white;
}

.nav-prefs-btn.has-prefs {
  background: rgba(139, 154, 126, 0.1);
}

/* Preferences Save Button */
.pref-save-btn {
  width: 100%;
  padding: var(--space-4);
  background: var(--color-sage);
  color: white;
  border: none;
  border-radius: var(--border-radius-full);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: var(--space-4);
}

.pref-save-btn:hover {
  background: #7a8a6f;
  transform: translateY(-1px);
}

/* Share Buttons */
.share-buttons {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
}

.share-label {
  font-size: var(--text-sm);
  color: #999;
  font-weight: 500;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #E0E0E0;
  background: white;
  color: var(--color-charcoal);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.share-btn.share-twitter:hover {
  background: #1DA1F2;
  border-color: #1DA1F2;
  color: white;
}

.share-btn.share-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: white;
}

.share-btn.share-copy:hover {
  background: var(--color-sage);
  border-color: var(--color-sage);
  color: white;
}

.share-btn.share-copy.copied {
  background: var(--color-sage);
  border-color: var(--color-sage);
  color: white;
}

@media (max-width: 640px) {
  .share-buttons {
    width: 100%;
    margin-left: 0;
    margin-top: var(--space-4);
    justify-content: center;
  }
}
