/* Shared component styles extracted from duplicated styles across CSS files */

/* Map view button styles - used in map_view.css and fun_places_list.css */
.map-view-btn {
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.map-view-btn:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  color: white;
}

.map-view-btn i {
  margin-right: 0.5rem;
}

/* Filter styles - used in fun_places_list.css and fun_places_manage.css */
.filter-form select {
  border-radius: 20px;
  border: 1px solid #e0e0e0;
}

.filter-form .btn {
  border-radius: 20px;
  padding: 0.25rem 1rem;
}

.filter-form label {
  font-size: 0.85rem;
  color: #555;
}

.filter-card {
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  border: none;
}

.filter-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  background-color: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
  border-radius: 50px;
  padding: 0.2rem 0.7rem;
  font-size: 0.8rem;
}

.active-filter-tag a {
  color: #666;
  font-weight: bold;
}

.active-filter-tag a:hover {
  color: #f44336;
}

/* Action button styles - used in multiple files */
.action-btn {
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  margin-right: 0.5rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .filter-form .col-sm-6:not(:first-child) label {
    display: none;
  }

  .filter-form .btn {
    margin-top: 1rem;
    width: 100%;
  }

  .action-buttons {
    margin-top: 0.5rem;
    justify-content: center !important;
  }
}
