/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary-color: hsl(242, 94%, 88%);
  --accent-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
  --bg-primary: #ffffff;
  --bg-secondary: #f0f2f5;
  --shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 20px;
  --transition-speed: 0.3s;
  --primary-color: #4a90e2;
  --secondary-color: #e2e8f0;
  --text-color: #333;
  --light-text: #718096;
  --border-color: #e2e8f0;
  --background-color: #f8fafc;
  --card-background: #fff;
  --hover-color: #ebf4ff;
  --success-color: #48bb78;
  --danger-color: #e53e3e;
  --warning-color: #ed8936;
  --info-color: #4299e1;
  --dark-background: #1a202c;
  --dark-card-background: #2d3748;
  --dark-text-color: #e2e8f0;
  --dark-border-color: #4a5568;
  --dark-hover-color: #2c5282;
  --dark-secondary-color: #4a5568;
}

[data-theme="dark"] {
  --primary-color: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary-color: #1e293b;
  --accent-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border-color: #334155;
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
  font-weight: 400;
  letter-spacing: 0.01em;
  font-size: 16px;
}

/* Header */
.wall-header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.back-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.back-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.header-left h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo i {
  font-size: 2rem;
}

.search-container {
  flex: 1;
  max-width: 500px;
}

.search-bar {
  position: relative;
  width: 100%;
}

.search-bar i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.search-bar input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-xl);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle,
.notification-btn,
.share-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover,
.notification-btn:hover,
.share-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--danger-color);
  color: white;
  font-size: 0.75rem;
  padding: 0.125rem 0.375rem;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

.user-menu {
  position: relative;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid var(--border-color);
  transition: border-color 0.2s ease;
}

.user-avatar:hover {
  border-color: var(--primary-color);
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 1000;
}

.user-menu:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background: var(--bg-secondary);
}

/* Main Content */
.wall-main,
.add-experience-main,
.experience-detail-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.wall-container,
.form-container,
.detail-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Create Post Card */
.create-post-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.create-post-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.create-post-header .user-avatar {
  width: 50px;
  height: 50px;
}

.create-post-input {
  flex: 1;
}

.post-input-btn {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-xl);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 1rem;
}

.post-input-btn:hover {
  border-color: var(--primary-color);
  background: var(--bg-primary);
}

.create-post-actions {
  display: flex;
  gap: 1rem;
  justify-content: space-around;
}

.action-btn {
  background: none;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  font-family: inherit;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.action-btn:hover {
  background: var(--bg-secondary);
  color: var(--primary-color);
}

.action-btn.active {
  background:rgba(104, 35, 241, 0.888);
  margin-left: 10px;
  color: white;
}

/* Filters */
.filters-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: 1rem;
  border: 1px solid var(--border-color);
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.filter-tab {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
  font-size: 0.875rem;
}

.filter-tab:hover {
  background: var(--primary-light);
  color: white;
  border-color: var(--primary-light);
}

.filter-tab.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Posts Feed */
.posts-feed {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.post-card,
.detail-post-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateY(-2px);
}

.post-header {
  padding: 1.5rem 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.post-author {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-color);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.author-stats {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.author-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.menu-btn {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-btn:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.post-content {
  padding: 1.5rem;
}

.post-text p {
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--text-primary);

}


.post-image {
  margin: 1rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: auto;
  display: block;
}

.mood-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  font-weight: 500;
}

.mood-indicator.large {
  padding: 0.5rem;
  margin-bottom: 1.5rem;
  

}

.mood-emoji {
  font-size: 1.5rem;
}

.mood-indicator.large .mood-emoji {
  font-size: 2rem;
}

.mood-indicator span {
  color: var(--text-primary);
  font-weight: 500;
}

.progress-card {
  background: var(--bg-secondary);
  padding: 1rem;
  border-radius: var(--border-radius);
  margin: 1rem 0;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.progress-bar {
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.3s ease;
  border-radius: 4px;
}

.therapy-info {
  display: flex;
  gap: 2rem;
  margin: 1rem 0;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
}

.therapy-type,
.therapy-duration {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.875rem;
}

.therapy-type i,
.therapy-duration i {
  color: var(--primary-color);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  background: var(--primary-color);
  color: white;
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.tag.small {
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
}

.post-stats {
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin: 0;
  padding: 1rem 1.5rem;
}

.post-stats.detailed {
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.reactions-preview {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.reaction-icons {
  display: flex;
  gap: 0.25rem;
}

.reaction-icons i {
  font-size: 1.2rem;
}

.reactions-detailed {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.reaction-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.reaction-group i {
  font-size: 1.25rem;
}

.engagement-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.engagement-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.comments-count {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.post-actions {
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-around;
  gap: 1rem;
}

.text-red {
  color:#5300d8;
}
.text-blue {
  color: #3b82f6;
}
.text-yellow {
  color: #f59e0b;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.pagination-container nav {
  width: 100%;
}

.pagination-container .flex.justify-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.pagination-container .relative.z-0.inline-flex.shadow-sm {
  display: flex;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.pagination-container button, 
.pagination-container span {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: all var(--transition-speed);
  cursor: pointer;
}

.pagination-container button:hover {
  background-color: var(--primary-light);
  color: white;
}

.pagination-container .bg-indigo-50 {
  background-color: var(--primary-light);
  color: white;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background-color: var(--bg-primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  margin: 1rem 0;
  text-align: center;
}

/* Create Post Form */
.create-post-form {
  padding: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group textarea,
.form-group input[type="text"],
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  transition: all var(--transition-speed);
}

.form-group textarea:focus,
.form-group input[type="text"]:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.image-preview {
  margin-top: 1rem;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  max-width: 300px;
}

.image-preview img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-speed);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.error {
  color: var(--danger-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1rem;
  font-weight: 500;
}

.empty-icon {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-secondary);
}

/* Load More */
.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.load-more-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 1rem 2rem;
  border-radius: var(--border-radius-xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.2s ease;
  font-family: inherit;
}

.load-more-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Floating Action Button */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all 0.2s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.fab:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* Add Experience Form */
.form-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-header .user-avatar {
  width: 60px;
  height: 60px;
}

.user-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.user-info p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.privacy-section {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.privacy-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.privacy-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.875rem;
}

.content-section {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.experience-textarea {
  width: 100%;
  min-height: 200px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
}

.experience-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.character-count {
  text-align: right;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.therapy-section,
.mood-section,
.duration-section,
.media-section,
.tags-section {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.therapy-section h4,
.mood-section h4,
.duration-section h4,
.media-section h4,
.tags-section h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.therapy-section h4 i,
.mood-section h4 i,
.duration-section h4 i,
.media-section h4 i,
.tags-section h4 i {
  color: var(--primary-color);
}

.therapy-tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.therapy-tag {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-family: inherit;
  font-weight: 500;
}

.therapy-tag:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.therapy-tag.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.therapy-tag i {
  font-size: 1.25rem;
  color: var(--primary-color);
}

/* Styles pour la section des commentaires */
.comments-section {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.comments-header h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.comments-header h3 i {
  color: var(--primary-color);
}

.comments-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comments-sort span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.sort-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sort-btn:hover {
  background: var(--primary-light);
  color: white;
  border-color: var(--primary-light);
}

.sort-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.comment-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.user-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-form form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.comment-form textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0.75rem;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.5;
  resize: vertical;
}

.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.comment-form button {
  align-self: flex-end;
}

.login-prompt {
  width: 100%;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  text-align: center;
}

.login-prompt a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.login-prompt a:hover {
  text-decoration: underline;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment {
  display: flex;
  gap: 1rem;
}

.comment-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.comment-header h4 {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.comment-date {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.comment-text p {
  color: var(--text-primary);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.comment-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.reply-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.reply-btn:hover {
  text-decoration: underline;
}

.reply-form {
  margin: 0.75rem 0;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
}

.reply-form textarea {
  width: 100%;
  min-height: 60px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 0.75rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.5;
  resize: vertical;
  margin-bottom: 0.75rem;
}

.reply-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.reply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.replies {
  margin-top: 1rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reply {
  display: flex;
  gap: 0.75rem;
}

.reply-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.reply-content {
  flex: 1;
}

.reply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.reply-header h5 {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.reply-date {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.reply-text p {
  color: var(--text-primary);
  font-size: 0.875rem;
  line-height: 1.5;
}

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.no-comments {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-secondary);
}

.error {
  color: var(--danger-color);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #059669;
}

/* Styles pour le composant de partage */
.share-component {
  position: relative;
}

.share-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.share-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 999;
  overflow: hidden;
}

.share-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.share-modal-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: var(--text-primary);
}

.share-modal-body {
  padding: 1.5rem;
}

.share-url-container {
  display: flex;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.share-url-container input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.share-url-container input:focus {
  outline: none;
}

.copy-btn {
  background-color: var(--primary-color);
  border: none;
  color: white;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.copy-btn:hover {
  background-color: var(--primary-dark);
}

.share-platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-platform-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.share-platform-btn:hover {
  opacity: 0.9;
}

.share-platform-btn i {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.share-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.share-count-updated {
  animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
    background-color: #28a745;
  }
  100% {
    transform: scale(1);
    background-color: var(--primary-color);
  }
}

.facebook {
  background-color: #1877f2;
}

.twitter {
  background-color: #1da1f2;
}

.linkedin {
  background-color: #0077b5;
}

.whatsapp {
  background-color: #25d366;
}

.telegram {
  background-color: #0088cc;
}

.email {
  background-color: #ea4335;
}

.copy-notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  animation: fadeInOut 2s ease forwards;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translate(-50%, 20px); }
  15% { opacity: 1; transform: translate(-50%, 0); }
  85% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -20px); }
}

.therapy-tag:hover i,
.therapy-tag.active i {
  color: white;
}

.mood-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .mood-selector {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .mood-selector {
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 0.4rem;
  }
}

.mood-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 0.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-primary);
  font-family: inherit;
}

@media (max-width: 768px) {
  .mood-btn {
    padding: 0.6rem 0.4rem;
    gap: 0.25rem;
  }
}

@media (max-width: 480px) {
  .mood-btn {
    padding: 0.5rem 0.3rem;
    gap: 0.2rem;
  }
}

.mood-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.mood-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.mood-btn .mood-emoji {
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .mood-btn .mood-emoji {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .mood-btn .mood-emoji {
    font-size: 1rem;
  }
}

.mood-btn span {
  font-size: 0.75rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .mood-btn span {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .mood-btn span {
    font-size: 0.65rem;
  }
}

.mood-title {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .mood-title {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }
}

@media (max-width: 480px) {
  .mood-title {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
  }
}

.image-actions {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
}

.change-image-btn {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.change-image-btn:hover {
  background-color: var(--bg-hover);
}

@media (max-width: 768px) {
  .change-image-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .change-image-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
}

.duration-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.duration-option {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.duration-option:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.duration-option input[type="radio"] {
  accent-color: var(--primary-color);
}

.media-upload {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.media-upload input[type="file"] {
  display: none;
}

.upload-btn {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-family: inherit;
  width: 100%;
}

@media (max-width: 768px) {
  .upload-btn {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .upload-btn {
    padding: 1rem;
  }
  
  .upload-btn i {
    font-size: 1.5rem;
  }
  
  .upload-btn span {
    font-size: 0.9rem;
  }
}

.upload-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.upload-btn i {
  font-size: 2rem;
}

.upload-preview {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-top: 1rem;
  max-width: 100%;
}

.preview-container {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .preview-container {
    max-width: 80%;
  }
}

@media (max-width: 480px) {
  .preview-container {
    max-width: 100%;
  }
}

.upload-preview img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 300px;
  object-fit: contain;
  background-color: var(--bg-secondary);
}

@media (max-width: 768px) {
  .upload-preview img {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .upload-preview img {
    max-height: 200px;
  }
}

.remove-image-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

@media (max-width: 768px) {
  .remove-image-btn {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .remove-image-btn {
    width: 25px;
    height: 25px;
    top: 8px;
    right: 8px;
  }
}

.remove-image-btn:hover {
  background-color: rgba(255, 0, 0, 0.7);
  transform: scale(1.1);
}

.tags-input-container {
  margin-bottom: 1rem;
}

.tags-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.875rem;
}

.tags-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.suggested-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.suggested-tag {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-xl);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.suggested-tag:hover {
  background: var(--primary-color);
  color: white;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.875rem;
}

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

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.875rem;
}

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

/* Comments Section */
.comments-section {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.comments-header h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.comments-header h3 i {
  color: var(--primary-color);
}

.comments-sort select {
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.875rem;
}

.add-comment {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.add-comment .user-avatar {
  width: 40px;
  height: 40px;
}

.comment-input-container {
  flex: 1;
  position: relative;
}

.comment-input {
  width: 100%;
  min-height: 80px;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.875rem;
  resize: vertical;
}

.comment-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.comment-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.emoji-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--border-radius-sm);
  transition: background-color 0.2s ease;
}

.emoji-btn:hover {
  background: var(--bg-secondary);
}

.send-comment-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.send-comment-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.comment {
  display: flex;
  gap: 1rem;
}

.comment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-color);
  flex-shrink: 0;
}

.comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.comment-header h4 {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.verified-badge {
  color: var(--primary-color);
  margin-left: 0.25rem;
}

.comment-header span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.comment-content p {
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.comment-actions {
  display: flex;
  gap: 1rem;
}

.comment-action {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius-sm);
  transition: all 0.2s ease;
  font-family: inherit;
}

.comment-action:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.load-more-comments {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  color: var(--text-primary);
  font-family: inherit;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-top: 1rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.load-more-comments:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Related Section */
.related-section {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.related-section h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.related-section h3 i {
  color: var(--primary-color);
}

.related-posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-post {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.2s ease;
}

.related-post:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.related-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-color);
  flex-shrink: 0;
}

.related-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-content {
  flex: 1;
}

.related-content h4 {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

.related-post:hover .related-content h4 {
  color: white;
}

.related-content p {
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.related-post:hover .related-content p {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
    gap: 1rem;
  }

  .search-container {
    display: none;
  }

  .wall-main,
  .add-experience-main,
  .experience-detail-main {
    padding: 0rem;
  }

  .create-post-actions {
    flex-direction:row;
    gap: 0.5rem;
  }

   .filters-card,.post-card {
    border-radius: 0px;
  }
  .filter-tab { 
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

   .create-post-card{
    border-radius: 0px;
    margin-top: 10px;
   }
  .therapy-tags {
    grid-template-columns: repeat(2, 1fr);
  }

  .mood-selector {
    grid-template-columns: repeat(2, 1fr);
  }

  .duration-options {
    grid-template-columns: 1fr;
  }
  Content
  .form-actions {
    flex-direction: column;
  }

  .fab {
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .engagement-stats {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .reactions-detailed {
    gap: 1rem;
  }
  Content
  .therapy-info {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 0.5rem;
  }

  .logo span {
    display: none;
  }

  .post-header {
    padding: 1rem 1rem 0;
  }

  .post-content {
    padding: 0.5rem;
  }

  .post-actions {
    padding:1rem 1rem;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
  }


  .author-stats {
    flex-direction: column;
    gap: 0.25rem;
  }

  .comment {
    gap: 0.75rem;
  }

  .comment-avatar {
    width: 32px;
    height: 32px;
  }

  .add-comment .user-avatar {
    width: 32px;
    height: 32px;
  }
}
