/* =====================================================
   WANDERLUST - UTILITIES & RESPONSIVE
   Helper classes, utilities, and responsive breakpoints
   ===================================================== */

/* ==================== UTILITIES ==================== */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-2 {
  margin-bottom: 8px;
}
.mb-4 {
  margin-bottom: 16px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-actions-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .weather-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .weather-forecast-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-wrapper {
    margin-left: 0;
    max-width: 100vw;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-search {
    display: none;
  }

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

  .search-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .dashboard-country-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .top-header {
    padding: 0 16px;
  }

  .main-content {
    padding: 16px;
  }

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

  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-form-row {
    flex-direction: column;
  }

  .search-form-row .form-group.flex-1,
  .search-form-row .form-group.flex-2 {
    flex: 1;
  }

  .search-form-row .form-group.search-btn-group {
    flex: none;
    width: 100%;
  }

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

  .search-hero {
    padding: 32px 20px;
  }

  .search-form-grid {
    grid-template-columns: 1fr;
  }

  .view-header-card {
    flex-direction: column;
    text-align: center;
  }

  .view-header-form {
    width: 100%;
  }

  .view-header-selection {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .current-selection-badge {
    width: 100%;
    justify-content: center;
  }

  .form-row {
    flex-direction: column;
  }

  .plans-filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .plan-filter {
    white-space: nowrap;
  }

  .header-datetime {
    display: none;
  }

  .dashboard-country-header {
    flex-direction: column;
    text-align: center;
  }

  .dashboard-country-flag {
    width: 120px;
    height: 80px;
  }

  .dashboard-country-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-country-extras {
    flex-direction: column;
  }

  .dashboard-country-extra {
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .quick-actions-grid {
    grid-template-columns: 1fr;
  }

  .weather-preview-grid {
    grid-template-columns: 1fr;
  }

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

  .dashboard-country-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .dashboard-country-detail {
    padding: 12px 8px;
  }

  .dashboard-country-detail i {
    font-size: 18px;
  }

  .dashboard-country-detail .value {
    font-size: 12px;
  }
}
