/* Consistent styles with the home page */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f5f5dc; /* Creamy white */
  color: #5c4033; /* Rich brown */
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Header with navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 120px;
  width: auto;
}

.logo h1 {
  color: #d4a373;
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 1px;
}

nav {
  justify-self: end;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-left: auto;
}

nav a {
  text-decoration: none;
  color: #4b3f32;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

nav a:hover, nav a:active {
  color: #d4a373;
}

nav a.cta-button {
  padding: 0.75rem 1.5rem;
  background-color: #d4a373;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

nav a.cta-button:hover {
  background-color: #b22222;
  color: #ffffff;
}

/* Page title */
.page-title {
  text-align: center;
  margin: 30px 0 40px;
}

.page-title h1 {
  font-family: 'Playfair Display', serif;
  color: #d4a373; /* Changed to match the gold/beige color */
  font-size: 3.5rem; /* Increased to match other section headings */
  margin: 0;
  font-weight: 700;
}

@media (max-width: 768px) {
  .page-title h1 {
    font-size: 2.5rem; /* Responsive size for mobile */
  }
}

/* Search filters layout */
.search-filters {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

/* Filter styling */
.filter-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.style-section {
  text-align: right;
}

.style-section label {
  text-align: right;
  display: block;
}

.filter-section label {
  font-size: 18px; /* Larger font size */
  font-weight: 600;
  color: #5c4033;
  margin-bottom: 5px;
}

.filter-dropdown select,
.search-input-container input {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 15px;
  font-size: 16px;
  min-width: 200px;
  color: #5c4033;
  background-color: white;
}

.filter-dropdown select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c4033' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
  padding-right: 40px;
}

.search-input-container input:focus,
.filter-dropdown select:focus {
  outline: none;
  border-color: #d4a373;
}

/* Braider gallery */
.braider-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
}

/* Braider card styling */
.braider-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(212, 163, 115, 0.2);
  margin-bottom: 1rem;
  position: relative;
}

.braider-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(212, 163, 115, 0.5);
}

.braider-photo {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.braider-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.braider-card:hover .braider-photo img {
  transform: scale(1.05);
}

/* Gallery-photo slideshow fallback for braider cards without a display photo */
.card-slideshow {
  position: absolute;
  inset: 0;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.card-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.card-slide.active {
  opacity: 1;
}

.braider-card:hover .card-slide.active {
  transform: scale(1.05);
  transition: opacity 0.9s ease, transform 0.3s ease;
}

.braider-website {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: #d4a373;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 0.35rem;
  letter-spacing: 0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.braider-website:hover {
  color: #b5834f;
  text-decoration: underline;
}

.braider-website i {
  font-size: 0.72rem;
  flex-shrink: 0;
}

.braider-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.braider-info h3 {
  color: #d4a373;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  font-family: 'Playfair Display', serif;
}

.braider-info .location {
  color: #5c4033;
  font-size: 0.95rem;
  margin: 0 0 1rem;
  opacity: 0.8;
}

.specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.specialty-tag {
  background-color: rgba(212, 163, 115, 0.2);
  color: #5c4033;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.recommendations {
  color: #d4a373;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.recommendations i {
  font-size: 0.9rem;
}

.view-profile-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #d4a373;
  color: #ffffff;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.view-profile-btn:hover {
  background-color: #b22222;
}

/* Loading, errors and no results states */
.no-results, .error {
  text-align: center;
  padding: 2rem;
  color: #5c4033;
  background-color: rgba(245, 245, 220, 0.7);
  border-radius: 10px;
  font-size: 1.1rem;
  margin: 2rem 0;
}

.error {
  color: #b22222;
  border: 1px solid rgba(178, 34, 34, 0.3);
}

.loading {
  text-align: center;
  padding: 2rem;
  color: #5c4033;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  font-size: 1.1rem;
}

.loading:after {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #d4a373;
  border-radius: 50%;
  border-top-color: transparent;
  margin-left: 10px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.centered-button-container {
  text-align: center;
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  justify-content: center;
}

/* Update activity indicator for availability */
.activity-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 12px;
  height: 12px;
  background-color: #4CAF50;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 0 rgba(76, 175, 80, 0.4);
  z-index: 10;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .search-filters {
    flex-direction: column;
    gap: 20px;
  }
  
  .style-section {
    text-align: left;
  }
  
  .style-section label {
    text-align: left;
  }
  
  .filter-dropdown select,
  .search-input-container input {
    min-width: 100%;
    width: 100%;
  }
  
  .braider-gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

/* Price Range Filter */
.price-section {
  flex: 1;
  min-width: 200px;
}

.price-range-container {
  margin-top: 0.5rem;
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-input-group {
  position: relative;
  display: flex;
  flex: 1;
}

.currency-symbol {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-weight: 500;
}

.price-input-group input {
  padding-left: 25px;
  width: 100%;
}

.price-separator {
  color: #666;
  font-weight: 500;
}

/* Availability Filter */
.availability-section {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.availability-container {
  margin-top: 0.5rem;
}

.availability-toggle {
  position: relative;
  width: 100%;
}

.availability-toggle-btn {
  width: 100%;
  padding: 10px 15px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 15px;
  text-align: left;
  cursor: pointer;
  color: #5c4033;
  font-size: 16px;
  position: relative;
}

.availability-toggle-btn:after {
  content: '';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #5c4033;
}

.availability-dropdown {
  display: none;
  position: absolute;
  left: 0;
  z-index: 1000;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 15px;
  width: 280px;
  max-height: 400px;
  overflow-y: auto;
}

.availability-dropdown.active {
  display: block;
}

.sidebar .availability-dropdown {
  position: relative;
  width: 100%;
  box-shadow: none;
  border: none;
  padding: 10px 0;
  max-height: none;
}

/* Price inputs in sidebar */
.sidebar .price-inputs {
  display: flex;
  align-items: center;
  margin-top: 5px;
  width: 100%;
}

.sidebar .price-input-group {
  position: relative;
  flex: 1;
}

.sidebar .price-input-group input {
  width: 100%;
  padding: 8px 8px 8px 20px;
  border: 1px solid #ddd;
  border-radius: 15px;
}

.sidebar .currency-symbol {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #5c4033;
}

.sidebar .price-separator {
  margin: 0 10px;
  color: #5c4033;
}

/* Make all filter inputs in sidebar full width */
.sidebar .filter-dropdown select,
.sidebar .search-input-container input,
.sidebar .filter-input {
  width: 100%;
  box-sizing: border-box;
}

/* New layout with sidebar */
.gallery-container {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.sidebar {
  width: 300px;
  min-width: 300px;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  align-self: flex-start;
  position: sticky;
  top: 2rem;
}

.sidebar .filter-section {
  margin-bottom: 1.5rem;
  width: 100%;
}

.sidebar .filter-section label {
  margin-bottom: 0.5rem;
  display: block;
}

.main-content {
  flex: 1;
}

/* Search styles element */
.search-styles-container {
  margin-bottom: 1.5rem;
}

.search-styles-container input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 15px;
  font-size: 16px;
  color: #5c4033;
  background-color: white;
  box-sizing: border-box;
}

.search-styles-container input:focus {
  outline: none;
  border-color: #d4a373;
}

.search-button {
  background-color: #d4a373;
  color: white;
  border: none;
  border-radius: 15px;
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 10px;
  width: 100%;
  transition: background-color 0.3s ease;
}

.search-button:hover {
  background-color: #c09262;
}

/* Modify the existing search filters for mobile responsiveness */
@media (max-width: 992px) {
  .gallery-container {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    min-width: auto;
    position: static;
  }
  
  .main-content {
    width: 100%;
  }
  
  .search-section {
    margin: 1rem 0 2rem;
  }
  
  .search-container {
    max-width: 100%;
    padding: 0 1rem;
  }
}

/* Availability groups and checkboxes */
.availability-group {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.availability-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.availability-group h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #5c4033;
}

.days-checkboxes, .time-options, .special-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.day-checkbox, .time-checkbox, .special-checkbox {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  white-space: nowrap;
}

.day-checkbox input, .time-checkbox input, .special-checkbox input {
  cursor: pointer;
  margin: 0;
}

.availability-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.apply-btn, .clear-btn {
  padding: 8px 15px;
  border-radius: 15px;
  font-size: 0.85rem;
  cursor: pointer;
}

.apply-btn {
  background-color: #d4a373;
  color: white;
  border: none;
}

.apply-btn:hover {
  background-color: #c79864;
}

.clear-btn {
  background-color: transparent;
  color: #5c4033;
  border: 1px solid #ddd;
}

.clear-btn:hover {
  background-color: #f5f5f5;
}

/* Search Section styling similar to Styles page */
.search-section {
  margin: 1.5rem 0 3rem;
  display: flex;
  justify-content: center;
}

.search-container {
  position: relative;
  max-width: 600px;
  width: 100%;
}

.search-container input {
  width: 100%;
  padding: 1rem 1.5rem;
  padding-right: 3.5rem;
  border: 2px solid #d4a373;
  border-radius: 30px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  color: #5c4033;
  background-color: white;
  box-sizing: border-box;
}

.search-container input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.3);
}

.search-container button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #d4a373;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.search-container button:hover {
  color: #b22222;
}

.braider-info .price {
  color: #5c4033;
  font-size: 1.1rem;
  margin: 0.5rem 0;
  font-weight: 600;
}

/* Filter Dropdown Styling */
.filter-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-toggle-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
}

.dropdown-toggle-btn::after {
  content: '▼';
  font-size: 0.8rem;
  margin-left: 0.5rem;
}

.dropdown-menu {
  position: absolute;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 0.25rem;
  z-index: 10;
  display: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.show {
  display: block;
}

.checkbox-list {
  padding: 0.5rem;
}

.checkbox-list label {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.checkbox-list input[type="checkbox"] {
  margin-right: 0.5rem;
}

.dropdown-actions {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  border-top: 1px solid #eee;
}

.apply-btn, .clear-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.apply-btn {
  background-color: #5c4033;
  color: white;
}

.clear-btn {
  background-color: #f8f8f8;
  color: #333;
}

/* Availability filter specific styles */
.availability-toggle {
  width: 100%;
}

.availability-toggle-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.availability-toggle-btn::after {
  content: '▼';
  font-size: 0.8rem;
}

.availability-dropdown {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-top: 0.25rem;
  padding: 1rem;
  display: none;
}

.availability-dropdown.show {
  display: block;
}

.availability-group {
  margin-bottom: 1rem;
}

.availability-group h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: #333;
}

.days-checkboxes, .time-options, .special-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.day-checkbox, .time-checkbox, .special-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.day-checkbox input, .time-checkbox input, .special-checkbox input {
  margin-right: 0.5rem;
}

/* Always visible availability action buttons */
.availability-actions.always-visible {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  border-top: 1px solid #eee;
  padding-top: 0.75rem;
}

/* Location filter */
.location-search-wrapper {
  position: relative;
  padding: 0.5rem 0.5rem 0;
  border-bottom: 1px solid #f0e6d9;
  margin-bottom: 0.25rem;
}

.location-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-25%);
  color: #aaa;
  font-size: 0.8rem;
  pointer-events: none;
}

.location-search-input {
  width: 100%;
  padding: 0.45rem 0.6rem 0.45rem 1.8rem;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  font-size: 0.875rem;
  background-color: #faf8f6;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.location-search-input:focus {
  border-color: #d4a373;
  box-shadow: 0 0 0 2px rgba(212, 163, 115, 0.2);
}

.location-empty-msg {
  font-size: 0.85rem;
  color: #999;
  text-align: center;
  padding: 0.5rem 0;
  margin: 0;
}

.location-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.location-checkbox input {
  margin-right: 0.5rem;
}

/* ── Active Location Chip ──────────────────────────────────────────────── */
.location-active-chip {
  display: none;
  align-items: center;
  gap: 0.4rem;
  background: #eef7ee;
  border: 1px solid #a5d6a7;
  border-radius: 20px;
  padding: 0.3rem 0.7rem;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #2e5e2e;
  font-weight: 500;
}

.location-active-chip .fa-map-marker-alt {
  color: #388e3c;
  font-size: 0.8rem;
}

#location-active-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 120px;
}

.location-chip-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0.15rem;
  font-size: 0.75rem;
  color: #2e7d32;
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.location-chip-btn:hover { color: #1b5e20; }

.location-chip-clear {
  text-decoration: none;
  color: #888;
  font-size: 0.8rem;
}

.location-chip-clear:hover { color: #c62828; }

/* ── Location Permission Banner ─────────────────────────────────────────── */
.location-denied-banner {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: #fff8f0;
  border: 1px solid #f0b97a;
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: #5c3d1e;
  line-height: 1.45;
}

.location-denied-icon {
  color: #c06a1a;
  font-size: 1rem;
  padding-top: 0.1rem;
  flex-shrink: 0;
}

.location-denied-body {
  flex: 1;
}

.location-denied-title {
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: #8b3e0e;
}

.location-denied-msg {
  margin: 0 0 0.4rem;
}

.location-browser-steps {
  background: #fff3e6;
  border-radius: 5px;
  padding: 0.4rem 0.55rem;
  margin-bottom: 0.5rem;
  font-size: 0.79rem;
  color: #6b3d1a;
}

.location-denied-actions {
  display: flex;
  gap: 0.5rem;
}

.location-retry-btn {
  background: #d4a373;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.location-retry-btn:hover {
  background: #b8854f;
}

.location-retry-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Manual Location Fallback ──────────────────────────────────────────── */
.manual-location-wrap {
  margin-top: 0.55rem;
  padding: 0.6rem 0.7rem;
  background: #faf5ef;
  border: 1px dashed #d4a373;
  border-radius: 8px;
}

.manual-location-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #7a4f2d;
  margin: 0 0 0.4rem;
}

.manual-location-row {
  display: flex;
  gap: 0.35rem;
}

.manual-location-input {
  flex: 1;
  border: 1px solid #d4a373;
  border-radius: 20px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  color: #3d2b1a;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.manual-location-input:focus {
  border-color: #b8854f;
  box-shadow: 0 0 0 2px rgba(212, 163, 115, 0.25);
}

.manual-location-btn {
  background: #d4a373;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 0.85rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.manual-location-btn:hover {
  background: #b8854f;
}

.manual-location-status {
  font-size: 0.77rem;
  margin: 0.35rem 0 0;
  min-height: 1em;
}

.manual-location-status.loading { color: #888; }
.manual-location-status.success { color: #2e7d32; font-weight: 600; }
.manual-location-status.error   { color: #c62828; }

/* Style filter */
.style-dropdown .checkbox-list {
  max-height: 200px;
  overflow-y: auto;
}

/* Global Filter Buttons */
.global-filter-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid #f0e6d9;
}

.global-btn {
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
}

.apply-global-btn {
  background-color: #d4a373;
  color: white;
  border: none;
  margin-right: 0.5rem;
}

.apply-global-btn:hover {
  background-color: #b22222;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.clear-global-btn {
  background-color: #f8f8f8;
  color: #5c4033;
  border: 1px solid #ddd;
  margin-left: 0.5rem;
}

.clear-global-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Visual indicator for when filters are applied */
.sidebar.filters-applied {
  animation: highlight-filters 1s ease;
}

@keyframes highlight-filters {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 163, 115, 0.4);
  }
  50% {
    box-shadow: 0 0 20px 5px rgba(212, 163, 115, 0.7);
  }
  100% {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 768px) {
  .global-filter-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .apply-global-btn, .clear-global-btn {
    margin: 0;
  }
}

.braider-info .distance {
  color: #666;
  font-size: 0.9rem;
  margin: 4px 0;
  padding: 2px 0;
  border-bottom: 1px solid #eee;
}

.braider-info .distance:before {
  content: "📍";
  margin-right: 4px;
  font-size: 1rem;
}

/* Distance info styling */
.distance-info {
  display: flex;
  align-items: center;
  margin-top: 5px;
  color: #4a8c40;
  font-weight: 600;
}

.distance-info i {
  margin-right: 5px;
  font-size: 14px;
}

.distance-info span {
  font-size: 14px;
}

.availability-note {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.8rem;
  font-style: italic;
  line-height: 1.2;
}

.unclaimed-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #d4a373;
  color: white;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  z-index: 2;
}

.braider-ext-links {
  font-size: 0.68rem;
  color: #aaa;
  margin-bottom: 0.25rem;
}
.braider-ext-link {
  color: #aaa;
  text-decoration: none;
}
.braider-ext-link:hover {
  color: #888;
  text-decoration: underline;
}