/* ========================================
   استایل‌های ریسپانسیو
   ======================================== */

/* تبلت و موبایل بزرگ */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.5rem;
  }

  .tabs {
    padding: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    font-size: 0.85rem;
    padding: 10px 16px;
    white-space: nowrap;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .mood-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  .routine-list {
    gap: 0.8rem;
  }

  .quote-box {
    padding: 2rem 1.5rem;
  }

  .quote-text {
    font-size: 1.1rem;
  }

  .wish-input-row {
    flex-direction: row;
  }

  .progress-chart {
    padding: 1.5rem;
  }
}

/* موبایل */
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  header {
    padding: 2rem 1rem 1.5rem;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 0.9rem;
  }

  .logo-badge {
    font-size: 0.7rem;
    padding: 4px 12px;
  }

  .tabs {
    padding: 0.8rem 0.5rem;
    gap: 0.5rem;
  }

  .tab-btn {
    font-size: 0.75rem;
    padding: 8px 12px;
    min-width: auto;
  }

  .section {
    padding: 1rem 1rem 4rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

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

  .mood-btn {
    padding: 1rem 0.5rem;
    font-size: 0.8rem;
  }

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

  .mood-message {
    font-size: 0.9rem;
    padding: 1rem;
  }

  .routine-item {
    padding: 1rem;
    gap: 0.8rem;
  }

  .routine-emoji {
    font-size: 1.8rem;
  }

  .routine-info h4 {
    font-size: 0.95rem;
  }

  .routine-info p {
    font-size: 0.75rem;
  }

  .quote-box {
    padding: 1.5rem 1rem;
  }

  .quote-text {
    font-size: 1rem;
    line-height: 1.8;
  }

  .quote-author {
    font-size: 0.85rem;
  }

  .quote-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .journal-entry {
    padding: 1.5rem;
  }

  .journal-entry textarea {
    font-size: 0.9rem;
    min-height: 150px;
  }

  .journal-meta {
    flex-direction: column;
    gap: 0.8rem;
    align-items: stretch;
  }

  .save-btn {
    width: 100%;
    justify-content: center;
  }

  .saved-entry {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .wish-input-row {
    gap: 0.6rem;
  }

  .wish-input {
    font-size: 0.85rem;
    padding: 10px 16px;
  }

  .add-btn {
    padding: 10px 18px;
    font-size: 1.2rem;
  }

  .wish-tag {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .progress-chart {
    padding: 1.5rem 1rem;
  }

  .progress-stats {
    flex-direction: column;
    gap: 0.8rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-value {
    font-size: 1.8rem;
  }

  .chart-container {
    height: 200px;
  }
}

/* موبایل کوچک */
@media (max-width: 400px) {
  header h1 {
    font-size: 1.8rem;
  }

  .tabs {
    padding: 0.5rem;
  }

  .tab-btn {
    font-size: 0.7rem;
    padding: 6px 10px;
  }

  .section {
    padding: 0.8rem 0.8rem 3rem;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .mood-btn {
    padding: 0.8rem 0.3rem;
    font-size: 0.75rem;
  }

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

  .routine-item {
    padding: 0.8rem;
  }

  .quote-text {
    font-size: 0.9rem;
  }

  .wish-tag {
    font-size: 0.75rem;
  }
}
