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

:root {
  --primary-color: #E7704E;
  --secondary-color: #cc6040;
  --success-color: #d3ff00;
  --background: #f5f6f8;
  --card-background: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border-color: #e5e5e5;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  direction: rtl;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
.app-header {
  background: var(--card-background);
  box-shadow: var(--shadow-sm);
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.98);
}

.app-logo {
  height: 40px;
  width: auto;
  display: block;
  margin-right: auto;
}

/* Profile Container */
.profile-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  flex: 1;
  width: 100%;
  animation: fadeIn 0.5s ease-out;
}

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

/* Profile Summary Card */
.profile-summary {
  background: var(--card-background);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  animation: slideUp 0.6s ease-out;
}

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

/* Brand Section */
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.logo-wrapper {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.logo-wrapper:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fallback-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 32px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(231, 112, 78, 0.3);
  flex-shrink: 0;
  transition: var(--transition);
}

.fallback-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(231, 112, 78, 0.4);
}

.brand-info {
  flex: 1;
  min-width: 0;
}

.brand-name-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: normal; 
  overflow: visible;    
  text-overflow: unset;
  line-height: 1.2;
}
.verified-badge {
  width: 22px;
  height: 22px;
  background-color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(211, 255, 0, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
      box-shadow: 0 2px 8px rgba(211, 255, 0, 0.4);
  }
  50% {
      box-shadow: 0 2px 12px rgba(211, 255, 0, 0.6);
  }
  100% {
      box-shadow: 0 2px 8px rgba(211, 255, 0, 0.4);
  }
}

.username {
  font-size: 16px;
  color: var(--text-secondary);
  display: block;
}

/* Bio Section */
.bio-description {
  background: linear-gradient(135deg, rgba(231, 112, 78, 0.05), rgba(231, 112, 78, 0.03));
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-primary);
  border: 1px solid rgba(231, 112, 78, 0.1);
  position: relative;
  overflow: hidden;
}

.bio-description::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.bio-description p {
  margin: 0;
  white-space: pre-wrap;
}

/* Stats Section */
.summary-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.summary-stats span {
  background: var(--background);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.summary-stats span:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Posts Section */
.posts-section {
  margin-top: 32px;
  animation: fadeIn 0.8s ease-out 0.3s both;
}

.posts-container {
  display: grid;
  gap: 20px;
}

.post {
  background: var(--card-background);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  animation: slideUp 0.6s ease-out;
}

.post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.post-photo {
  width: 100%;
  height:auto;
  display: block;
  object-fit: contain;
  aspect-ratio: 16/9;
  background: var(--background);
}

.post-description {
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.post-meta {
  padding: 0 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.post-meta span:hover {
  color: var(--primary-color);
}

.post-meta i {
  font-size: 16px;
}

.likes i {
  color: #ff4458;
}

.views i {
  color: #4a90e2;
}

/* Download Section */
.download-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

.download-text {
  font-size: 18px;
  margin-bottom: 24px;
  font-weight: 500;
  opacity: 0.95;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  height: 48px;
  width: auto;
  transition: var(--transition);
  opacity: 0.9;
}

.store-badge:hover {
  transform: translateY(-3px);
  opacity: 1;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
      background-position: 200% 0;
  }
  100% {
      background-position: -200% 0;
  }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .app-header {
      padding: 10px 16px;
  }

  .app-logo {
      height: 32px;
  }

  .profile-container {
      padding: 16px;
  }

  .profile-summary {
      padding: 20px;
      border-radius: 16px;
  }

  .brand {
      gap: 12px;
  }

  .logo-wrapper,
  .fallback-avatar {
      width: 64px;
      height: 64px;
      font-size: 26px;
  }

  .brand-name {
      font-size: 20px;
  }

  .username {
      font-size: 14px;
  }

  .verified-badge {
      width: 20px;
      height: 20px;
  }

  .bio-description {
      padding: 16px;
      font-size: 14px;
  }

  .summary-stats {
      grid-template-columns: 1fr;
      gap: 12px;
  }

  .summary-stats span {
      padding: 12px;
      font-size: 14px;
  }

  .post-description {
      padding: 12px 16px;
      font-size: 14px;
  }

  .post-meta {
      padding: 0 16px 16px;
      font-size: 13px;
  }

  .download-section {
      padding: 32px 16px;
  }

  .download-text {
      font-size: 16px;
  }

  .store-badge {
      height: 40px;
  }
}

@media (max-width: 480px) {
  .brand-name {
      font-size: 18px;
  }

  .logo-wrapper,
  .fallback-avatar {
      width: 56px;
      height: 56px;
      font-size: 22px;
  }

  .store-buttons {
      gap: 12px;
  }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
  }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
  :root {
      --background: #1a1a1a;
      --card-background: #2d2d2d;
      --text-primary: #ffffff;
      --text-secondary: #b0b0b0;
      --text-muted: #808080;
      --border-color: #404040;
  }

  .app-header {
      background: rgba(45, 45, 45, 0.98);
  }

  .bio-description {
      background: linear-gradient(135deg, rgba(231, 112, 78, 0.1), rgba(231, 112, 78, 0.05));
  }

  .summary-stats span {
      background: #252525;
      border-color: #404040;
  }

  .post {
      background: #2d2d2d;
  }
}
.external-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-color);
  background: linear-gradient(135deg, rgba(231, 112, 78, 0.05), rgba(231, 112, 78, 0.02));
  padding: 12px 16px;
  border: 1px solid rgba(231, 112, 78, 0.3);
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  margin-top: 12px;
}

.external-link:hover {
  background: rgba(231, 112, 78, 0.1);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.messaging-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.messaging-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

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

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #E7704E;
}

.modal-icon {
  font-size: 60px;
  color: #E7704E;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.modal-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
  font-size: 16px;
}

.modal-store-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-store-buttons .store-badge {
  height: 50px;
  transition: transform 0.3s ease;
}

.modal-store-buttons .store-badge:hover {
  transform: scale(1.05);
}

.profile-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 5px;
}

.message-button {
  background: #E7704E;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.message-button:hover {
  background: #d55b3e;
  transform: translateY(-1px);
  color: white;
}

.message-button i {
  font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-content {
    margin: 20px;
    padding: 25px;
  }
  
  .modal-title {
    font-size: 20px;
  }
  
  .modal-description {
    font-size: 14px;
  }
}
/* Location and FAQ Sections Styles */

/* Section Headers */
.section-header {
  margin-bottom: 16px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.section-title i {
  color: var(--primary-color);
  font-size: 18px;
}

/* Locations Section */
.locations-section {
  background: var(--card-background);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  animation: slideUp 0.6s ease-out;
}

.locations-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-card {
  background: linear-gradient(135deg, rgba(231, 112, 78, 0.05), rgba(231, 112, 78, 0.02));
  border: 1px solid rgba(231, 112, 78, 0.2);
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.5s ease-out;
}

/* Staggered animation for multiple location cards */
.location-card:nth-child(1) { animation-delay: 0.1s; }
.location-card:nth-child(2) { animation-delay: 0.2s; }
.location-card:nth-child(3) { animation-delay: 0.3s; }
.location-card:nth-child(4) { animation-delay: 0.4s; }
.location-card:nth-child(5) { animation-delay: 0.5s; }

.location-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.location-card:hover {
  background: linear-gradient(135deg, rgba(231, 112, 78, 0.1), rgba(231, 112, 78, 0.05));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.location-info {
  flex: 1;
}

.location-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.location-coordinates {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.coord-label {
  font-weight: 500;
  margin-left: 4px;
}

.location-action {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
  transition: var(--transition);
}

.location-card:hover .location-action {
  color: var(--secondary-color);
  transform: translateX(-4px);
}

/* FAQ Section */
.faq-section {
  background: var(--card-background);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  animation: slideUp 0.6s ease-out;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  background: var(--card-background);
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

.faq-question:hover {
  background: linear-gradient(135deg, rgba(231, 112, 78, 0.03), rgba(231, 112, 78, 0.01));
}

.faq-question.active {
  background: linear-gradient(135deg, rgba(231, 112, 78, 0.05), rgba(231, 112, 78, 0.02));
  color: var(--primary-color);
}

.faq-question-text {
  flex: 1;
  text-align: right;
  line-height: 1.5;
}

.faq-icon {
  font-size: 14px;
  color: var(--primary-color);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, rgba(231, 112, 78, 0.02), rgba(231, 112, 78, 0.01));
}

.faq-answer-content {
  padding: 0 20px 20px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 15px;
}

.faq-answer-content p {
  margin: 0;
  white-space: pre-wrap;
}

/* Animations for FAQ */
.faq-item {
  animation: fadeInUp 0.5s ease-out;
}

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

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .locations-section,
  .faq-section {
    padding: 20px;
    border-radius: 16px;
  }

  .section-title {
    font-size: 18px;
  }

  .section-title i {
    font-size: 16px;
  }

  .location-card {
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .location-name {
    font-size: 16px;
  }

  .location-coordinates {
    flex-direction: column;
    gap: 8px;
  }

  .location-action {
    align-self: flex-end;
    font-size: 13px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 15px;
  }

  .faq-answer-content {
    padding: 0 16px 16px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 16px;
  }

  .location-card {
    padding: 14px;
  }

  .location-name {
    font-size: 15px;
  }

  .location-coordinates {
    font-size: 13px;
  }

  .faq-question {
    padding: 12px 14px;
    font-size: 14px;
  }

  .faq-answer-content {
    padding: 0 14px 14px 14px;
    font-size: 13px;
  }
}

/* Loading states for new sections */
.locations-section.loading,
.faq-section.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Dark mode support for new sections */
@media (prefers-color-scheme: dark) {
  .location-card {
    background: linear-gradient(135deg, rgba(231, 112, 78, 0.1), rgba(231, 112, 78, 0.05));
    border-color: rgba(231, 112, 78, 0.3);
  }

  .location-card:hover {
    background: linear-gradient(135deg, rgba(231, 112, 78, 0.15), rgba(231, 112, 78, 0.08));
  }

  .faq-item {
    border-color: #404040;
    background: #2d2d2d;
  }

  .faq-question.active {
    background: linear-gradient(135deg, rgba(231, 112, 78, 0.1), rgba(231, 112, 78, 0.05));
  }

  .faq-answer {
    background: linear-gradient(135deg, rgba(231, 112, 78, 0.05), rgba(231, 112, 78, 0.02));
  }
}

/* Accessibility improvements */
.faq-question:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.location-card:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .faq-icon {
    transition: none;
  }
  
  .faq-answer {
    transition: none;
  }
  
  .location-card:hover .location-action {
    transform: none;
  }
}
/* Reviews Section Styles */
.reviews-section {
  background: var(--card-background);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  animation: slideUp 0.6s ease-out;
}

.reviews-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.add-review-button {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.add-review-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.add-review-button i {
  font-size: 12px;
}

.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background: var(--background);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.5s ease-out;
}

/* Staggered animation for reviews */
.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }
.review-card:nth-child(4) { animation-delay: 0.4s; }
.review-card:nth-child(5) { animation-delay: 0.5s; }

/* Sentiment-based styles */
.review-card[data-sentiment="good"] {
  border-color: rgba(46, 204, 113, 0.3);
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.05), rgba(46, 204, 113, 0.02));
}

.review-card[data-sentiment="bad"] {
  border-color: rgba(231, 76, 60, 0.3);
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.05), rgba(231, 76, 60, 0.02));
}

.review-card[data-sentiment="neutral"] {
  border-color: rgba(149, 165, 166, 0.3);
  background: linear-gradient(135deg, rgba(149, 165, 166, 0.05), rgba(149, 165, 166, 0.02));
}

/* Left border accent based on sentiment */
.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.review-card[data-sentiment="good"]::before {
  background: linear-gradient(180deg, #2ecc71, #27ae60);
}

.review-card[data-sentiment="bad"]::before {
  background: linear-gradient(180deg, #e74c3c, #c0392b);
}

.review-card[data-sentiment="neutral"]::before {
  background: linear-gradient(180deg, #95a5a6, #7f8c8d);
}

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

.review-sentiment {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--card-background);
  box-shadow: var(--shadow-sm);
}

.sentiment-icon {
  font-size: 24px;
}

.review-card[data-sentiment="good"] .sentiment-icon {
  color: #2ecc71;
}

.review-card[data-sentiment="bad"] .sentiment-icon {
  color: #e74c3c;
}

.review-card[data-sentiment="neutral"] .sentiment-icon {
  color: #95a5a6;
}

.review-content {
  flex: 1;
}

.review-comment {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0;
  white-space: pre-wrap;
}

/* See More Reviews Button */
.see-more-reviews {
  width: 100%;
  background: linear-gradient(135deg, rgba(231, 112, 78, 0.05), rgba(231, 112, 78, 0.02));
  border: 1px solid rgba(231, 112, 78, 0.2);
  border-radius: 12px;
  padding: 14px 20px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.see-more-reviews:hover {
  background: rgba(231, 112, 78, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.see-more-reviews i {
  font-size: 12px;
  transition: var(--transition);
}

.see-more-reviews:hover i {
  transform: translateX(-4px);
}

/* Empty Reviews State */
.empty-reviews {
  text-align: center;
  padding: 60px 20px;
}

.empty-icon {
  font-size: 64px;
  color: var(--text-muted);
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.empty-subtext {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Review Modal Styles (extends messaging modal) */
.review-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.review-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.review-modal .modal-content {
  background: white;
  border-radius: 20px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
}

.review-modal .modal-icon {
  font-size: 60px;
  color: #f39c12;
  margin-bottom: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .reviews-section {
    padding: 20px;
    border-radius: 16px;
  }

  .reviews-section .section-header {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .add-review-button {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .review-card {
    padding: 16px;
    gap: 12px;
  }

  .review-sentiment {
    width: 40px;
    height: 40px;
  }

  .sentiment-icon {
    font-size: 20px;
  }

  .review-comment {
    font-size: 14px;
  }

  .see-more-reviews {
    padding: 12px 16px;
    font-size: 13px;
  }

  .empty-reviews {
    padding: 40px 20px;
  }

  .empty-icon {
    font-size: 48px;
  }

  .empty-text {
    font-size: 16px;
  }

  .empty-subtext {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .reviews-section {
    padding: 16px;
  }

  .add-review-button {
    font-size: 13px;
    padding: 10px 16px;
  }

  .review-card {
    padding: 14px;
    flex-direction: column;
    text-align: center;
  }

  .review-sentiment {
    margin: 0 auto;
  }

  .review-comment {
    font-size: 13px;
    text-align: right;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .review-card {
    background: #252525;
    border-color: #404040;
  }

  .review-card[data-sentiment="good"] {
    border-color: rgba(46, 204, 113, 0.4);
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(46, 204, 113, 0.05));
  }

  .review-card[data-sentiment="bad"] {
    border-color: rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
  }

  .review-card[data-sentiment="neutral"] {
    border-color: rgba(149, 165, 166, 0.4);
    background: linear-gradient(135deg, rgba(149, 165, 166, 0.1), rgba(149, 165, 166, 0.05));
  }

  .review-sentiment {
    background: #2d2d2d;
  }

  .see-more-reviews {
    background: linear-gradient(135deg, rgba(231, 112, 78, 0.1), rgba(231, 112, 78, 0.05));
    border-color: rgba(231, 112, 78, 0.3);
  }

  .review-modal .modal-content {
    background: #2d2d2d;
    color: white;
  }
}

/* Accessibility */
.add-review-button:focus,
.see-more-reviews:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .review-card,
  .sentiment-icon,
  .see-more-reviews i {
    animation: none;
    transition: none;
  }
}
/* Enhanced Dark Mode Support for Review Modal */
@media (prefers-color-scheme: dark) {
  /* Review Modal Dark Mode Styles */
  .review-modal .modal-content {
    background: #2d2d2d !important;
    color: white !important;
    border: 1px solid #404040;
  }

  .review-modal .modal-close {
    color: #b0b0b0 !important;
    background: none !important;
  }

  .review-modal .modal-close:hover {
    color: #E7704E !important;
  }

  .review-modal .modal-icon {
    color: #f39c12 !important;
  }

  .review-modal .modal-title {
    color: white !important;
  }

  .review-modal .modal-description {
    color: #b0b0b0 !important;
  }

  /* Also fix messaging modal for consistency */
  .messaging-modal .modal-content {
    background: #2d2d2d !important;
    color: white !important;
    border: 1px solid #404040;
  }

  .messaging-modal .modal-close {
    color: #b0b0b0 !important;
    background: none !important;
  }

  .messaging-modal .modal-close:hover {
    color: #E7704E !important;
  }

  .messaging-modal .modal-icon {
    color: #E7704E !important;
  }

  .messaging-modal .modal-title {
    color: white !important;
  }

  .messaging-modal .modal-description {
    color: #b0b0b0 !important;
  }

  /* Store badge hover effects in dark mode */
  .modal-store-buttons .store-badge:hover {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

/* Force dark mode styles (alternative approach if prefers-color-scheme doesn't work) */
@media screen {
  [data-theme="dark"] .review-modal .modal-content,
  [data-theme="dark"] .messaging-modal .modal-content {
    background: #2d2d2d !important;
    color: white !important;
    border: 1px solid #404040;
  }

  [data-theme="dark"] .review-modal .modal-close,
  [data-theme="dark"] .messaging-modal .modal-close {
    color: #b0b0b0 !important;
  }

  [data-theme="dark"] .review-modal .modal-close:hover,
  [data-theme="dark"] .messaging-modal .modal-close:hover {
    color: #E7704E !important;
  }

  [data-theme="dark"] .review-modal .modal-title,
  [data-theme="dark"] .messaging-modal .modal-title {
    color: white !important;
  }

  [data-theme="dark"] .review-modal .modal-description,
  [data-theme="dark"] .messaging-modal .modal-description {
    color: #b0b0b0 !important;
  }

  [data-theme="dark"] .review-modal .modal-icon {
    color: #f39c12 !important;
  }

  [data-theme="dark"] .messaging-modal .modal-icon {
    color: #E7704E !important;
  }
}

/* Enhanced contrast for better visibility */
@media (prefers-color-scheme: dark) and (prefers-contrast: high) {
  .review-modal .modal-content,
  .messaging-modal .modal-content {
    background: #1a1a1a !important;
    border: 2px solid #666 !important;
  }

  .review-modal .modal-title,
  .messaging-modal .modal-title {
    color: #ffffff !important;
  }

  .review-modal .modal-description,
  .messaging-modal .modal-description {
    color: #cccccc !important;
  }
}
/* App Visit Statement Styles */
.app-visit-statement {
  background: linear-gradient(135deg, rgba(231, 112, 78, 0.08), rgba(231, 112, 78, 0.04));
  border: 1px solid rgba(231, 112, 78, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.app-visit-statement::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
}

.app-visit-statement:hover {
  background: linear-gradient(135deg, rgba(231, 112, 78, 0.12), rgba(231, 112, 78, 0.06));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.statement-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.statement-icon {
  font-size: 28px;
  color: var(--primary-color);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.statement-text {
  flex: 1;
}

.statement-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.statement-description {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

.visit-app-button {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.visit-app-button:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(231, 112, 78, 0.3);
}

.visit-app-button i {
  font-size: 11px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .app-visit-statement {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
  }

  .statement-content {
    gap: 12px;
  }

  .statement-icon {
    font-size: 24px;
  }

  .statement-title {
    font-size: 15px;
  }

  .statement-description {
    font-size: 13px;
  }

  .visit-app-button {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .app-visit-statement {
    padding: 16px;
  }

  .statement-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .statement-icon {
    font-size: 22px;
    margin: 0 auto;
  }

  .statement-title {
    font-size: 14px;
  }

  .statement-description {
    font-size: 12px;
  }

  .visit-app-button {
    font-size: 13px;
    padding: 10px 16px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .app-visit-statement {
    background: linear-gradient(135deg, rgba(231, 112, 78, 0.12), rgba(231, 112, 78, 0.06));
    border-color: rgba(231, 112, 78, 0.3);
  }

  .app-visit-statement:hover {
    background: linear-gradient(135deg, rgba(231, 112, 78, 0.18), rgba(231, 112, 78, 0.09));
  }

  .statement-title {
    color: white;
  }

  .statement-description {
    color: #b0b0b0;
  }
}

/* Accessibility */
.visit-app-button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .statement-icon {
    animation: none;
  }
}

/* Styling for the Posts Section Header and "See More" prompt */

.posts-section .section-header {
  margin-bottom: 16px;
}

.posts-section .section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.posts-section .section-title i {
  color: var(--primary-color);
  font-size: 18px;
}

.posts-see-more {
  margin-top: 24px; /* Adds space between the last post and the 'see more' prompt */
}


/* Responsive adjustments for the new post section header */
@media (max-width: 768px) {
  .posts-section .section-title {
    font-size: 18px;
  }

  .posts-section .section-title i {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .posts-section .section-title {
    font-size: 16px;
  }
}
.working-hours-section {
  background: var(--card-background);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  animation: slideUp 0.6s ease-out;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.working-hours-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.working-hours-section .section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.working-hours-section .section-title i {
  color: var(--primary-color);
  font-size: 16px;
}

/* Status Badge */
.status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  transition: var(--transition);
}

.status-badge.open {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-badge.closed {
  background: rgba(231, 112, 78, 0.1);
  color: var(--primary-color);
  border: 1px solid rgba(231, 112, 78, 0.3);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-badge.open .status-dot {
  background: #2ecc71;
}

.status-badge.closed .status-dot {
  background: var(--primary-color);
}

/* Today's Hours Card */
.today-hours-card {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border-left: 3px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.today-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.today-day {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.today-badge {
  background: var(--primary-color);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
}

.today-time {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: right;
}

.today-time.closed {
  color: var(--primary-color);
  font-weight: 600;
}

/* Week Toggle Button */
.week-toggle-btn {
  width: 100%;
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.week-toggle-btn:hover {
  background: rgba(231, 112, 78, 0.05);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.week-toggle-btn i {
  transition: transform 0.3s ease;
  font-size: 12px;
}

.week-toggle-btn.expanded i {
  transform: rotate(180deg);
}

/* Week Schedule Container */
.week-schedule-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.week-schedule-container.expanded {
  max-height: 500px;
}

.week-schedule {
  background: var(--background);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

/* Day Schedule Rows */
.day-schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.day-schedule-row:last-child {
  border-bottom: none;
}

.day-schedule-row:hover {
  background: rgba(231, 112, 78, 0.05);
}

.day-schedule-row.today {
  background: rgba(231, 112, 78, 0.08);
  border-left: 3px solid var(--primary-color);
  margin-left: -1px;
}

.day-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.day-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-color);
  opacity: 0;
  transition: var(--transition);
}

.day-schedule-row.today .day-indicator {
  opacity: 1;
}

.day-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.day-schedule-row.today .day-name {
  font-weight: 600;
  color: var(--text-primary);
}

.today-label {
  background: var(--primary-color);
  color: white;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 600;
  opacity: 0;
  transition: var(--transition);
}

.day-schedule-row.today .today-label {
  opacity: 1;
}

.day-time {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: left;
}

.day-schedule-row.today .day-time {
  font-weight: 500;
  color: var(--text-secondary);
}

.closed-text {
  color: var(--primary-color);
  font-weight: 500;
}

.time-text {
  color: inherit;
}

/* Ensure proper spacing from other sections */
.working-hours-section + .reviews-section,
.working-hours-section + .locations-section,
.working-hours-section + .faq-section,
.working-hours-section + .posts-section {
  margin-top: 20px;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .working-hours-section {
    background: #2a2a2a;
    border-color: #3a3a3a;
  }

  .working-hours-section .section-title {
    color: #ffffff;
  }

  .status-badge.open {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border-color: rgba(46, 204, 113, 0.3);
  }

  .status-badge.closed {
    background: rgba(231, 112, 78, 0.15);
    color: #E7704E;
    border-color: rgba(231, 112, 78, 0.3);
  }

  .today-hours-card {
    background: #3a3a3a;
    border-color: #4a4a4a;
  }

  .today-day {
    color: #ffffff;
  }

  .today-time {
    color: #cccccc;
  }

  .today-time.closed {
    color: #E7704E;
  }

  .week-toggle-btn {
    background: #3a3a3a;
    border-color: #4a4a4a;
    color: #E7704E;
  }

  .week-toggle-btn:hover {
    background: #4a4a4a;
    border-color: #E7704E;
  }

  .week-schedule {
    background: #3a3a3a;
    border-color: #4a4a4a;
  }

  .day-schedule-row {
    border-bottom-color: #4a4a4a;
  }

  .day-schedule-row:hover {
    background: rgba(231, 112, 78, 0.08);
  }

  .day-schedule-row.today {
    background: rgba(231, 112, 78, 0.12);
    border-left-color: #E7704E;
  }

  .day-name {
    color: #cccccc;
  }

  .day-schedule-row.today .day-name {
    color: #ffffff;
  }

  .day-time {
    color: #999999;
  }

  .day-schedule-row.today .day-time {
    color: #cccccc;
  }

  .closed-text {
    color: #E7704E;
  }
}

/* Force dark mode styles for explicit dark theme class */
[data-theme="dark"] .working-hours-section,
.dark-theme .working-hours-section {
  background: #2a2a2a !important;
  border-color: #3a3a3a !important;
}

[data-theme="dark"] .working-hours-section .section-title,
.dark-theme .working-hours-section .section-title {
  color: #ffffff !important;
}

[data-theme="dark"] .today-hours-card,
.dark-theme .today-hours-card {
  background: #3a3a3a !important;
  border-color: #4a4a4a !important;
}

[data-theme="dark"] .today-day,
.dark-theme .today-day {
  color: #ffffff !important;
}

[data-theme="dark"] .today-time,
.dark-theme .today-time {
  color: #cccccc !important;
}

[data-theme="dark"] .week-toggle-btn,
.dark-theme .week-toggle-btn {
  background: #3a3a3a !important;
  border-color: #4a4a4a !important;
  color: #E7704E !important;
}

[data-theme="dark"] .week-schedule,
.dark-theme .week-schedule {
  background: #3a3a3a !important;
  border-color: #4a4a4a !important;
}

[data-theme="dark"] .day-name,
.dark-theme .day-name {
  color: #cccccc !important;
}

[data-theme="dark"] .day-time,
.dark-theme .day-time {
  color: #999999 !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .working-hours-section {
    padding: 16px;
    margin-bottom: 16px;
  }

  .working-hours-section .section-header {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .working-hours-section .section-title {
    font-size: 16px;
    justify-content: center;
  }

  .status-badge {
    justify-content: center;
    align-self: center;
  }

  .today-hours-card {
    padding: 14px;
  }

  .today-header {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .today-day {
    font-size: 15px;
  }

  .today-time {
    font-size: 14px;
    text-align: center;
  }

  .day-schedule-row {
    padding: 12px 14px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .day-info {
    justify-content: center;
  }

  .day-time {
    text-align: center;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .working-hours-section {
    padding: 14px;
    margin-bottom: 14px;
  }

  .working-hours-section .section-title {
    font-size: 15px;
  }

  .today-hours-card {
    padding: 12px;
  }

  .today-day {
    font-size: 14px;
  }

  .today-time {
    font-size: 13px;
  }

  .day-schedule-row {
    padding: 10px 12px;
  }

  .day-name {
    font-size: 13px;
  }

  .day-time {
    font-size: 11px;
  }
}

/* Accessibility */
.week-toggle-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .working-hours-section,
  .week-toggle-btn i {
    animation: none;
  }
  
  .week-schedule-container {
    transition: none;
  }
}