/* Mobile Responsive Styles */

@media (max-width: 768px) {
  .dashboard-sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    height: auto;
  }

  .dashboard-container {
    flex-direction: column;
  }

  .dashboard-nav {
    display: none;
  }

  .dashboard-nav.mobile-open {
    display: flex;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    background-color: var(--bg-secondary);
    flex-direction: column;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
  }

  .dashboard-topbar {
    padding: 0.75rem;
  }

  .dashboard-content {
    padding: 1rem;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .charts-grid {
    grid-template-columns: 1fr;
  }

  .user-list {
    grid-template-columns: 1fr;
  }

  .data-table {
    font-size: 0.75rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.5rem;
  }

  .member-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .dashboard-sidebar {
    padding: 0.5rem;
  }

  .dashboard-logo {
    font-size: 1rem;
  }

  .topbar-title {
    font-size: 1rem;
  }

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

  .charts-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 95%;
  }

  .theme-options {
    flex-direction: column;
  }

  [data-theme-option] {
    width: 100%;
    text-align: center;
  }
}
