/* ==========================================================================
   AI School OS - Responsive Stylesheet
   Mobile, Tablet, Desktop Media Queries
   ========================================================================== */

@media (max-width: 991.98px) {
  .dashboard-wrapper {
    flex-direction: column;
  }

  .app-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
  }

  .sidebar-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    gap: 0.5rem;
  }

  .sidebar-item a {
    white-space: nowrap;
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
  }

  .main-content {
    padding: 1.25rem;
  }

  .chat-container {
    height: calc(100vh - 140px);
  }

  .chat-message {
    max-width: 92%;
  }
}

@media (max-width: 767.98px) {
  .brand-logo span {
    font-size: 1.1rem;
  }

  .stat-card {
    padding: 1rem;
  }

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

  .card-custom {
    padding: 1.15rem;
  }

  .chat-header {
    padding: 0.85rem 1rem;
  }

  .chat-body {
    padding: 1rem;
  }
}

@media (max-width: 575.98px) {
  .app-navbar {
    padding: 0.5rem 1rem;
  }

  .main-content {
    padding: 1rem 0.75rem;
  }

  .btn-primary-custom, .btn-secondary-custom, .btn-outline-custom {
    width: 100%;
    text-align: center;
  }
}
