/* Responsive Utilities */

@media (max-width: 768px) {
  .hero-section {
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .feature-cards {
    flex-direction: column;
  }
  
  .stat-cards {
    grid-template-columns: 1fr 1fr;
  }
  
  .charts-container {
    flex-direction: column;
  }
  
  .chart-wrapper {
    width: 100% !important;
    margin-bottom: 1rem;
  }
  
  /* Make tables horizontally scrollable */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  /* Adjust form grid */
  .form-row {
    flex-direction: column;
  }
  .form-col {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  /* Filter bar */
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-bar > * {
    margin-bottom: 0.5rem;
  }
  
  /* Modals */
  .modal-dialog {
    margin: 0.5rem;
  }
}

@media (max-width: 480px) {
  .stat-cards {
    grid-template-columns: 1fr;
  }
  
  .fab {
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  
  /* Bottom Navigation for Mobile Apps feel (optional) */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 0.5rem 0;
    z-index: 1000;
  }
  .bottom-nav-item {
    flex: 1;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none;
  }
  .bottom-nav-item i {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 2px;
  }
  .bottom-nav-item.active {
    color: var(--color-primary);
  }
}
