/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/@wordpress/scripts/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/@wordpress/scripts/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./resources/scss/leaflet-category-map.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Leaflet Category Map Styles
 * 
 * Standalone SCSS entry point for leaflet category map compilation
 * Imports the modular category map styles from trails module
 * 
 * @package IncaTrail_Theme
 * @since 1.0.0
 */
/**
 * Trails Category Map Styles
 * 
 * Universal styling for Leaflet category maps (countries and regions)
 * Converted from CSS to SCSS for better maintainability and theme integration.
 * 
 * @package IncaTrail_Theme
 * @since 1.0.0
 */
/**
 * Theme Variables
 * 
 * All custom CSS properties removed in favor of theme.json tokens.
 * Use var(--wp--preset--color--*) and var(--wp--preset--spacing--*) instead.
 * 
 * @package IncaTrail_Theme
 * @since 1.0.0
 */
.leaflet-category-map-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: var(--wp--preset-spacing-xl) 0;
}
@media (max-width: 768px) {
  .leaflet-category-map-section {
    padding: 1rem;
    margin: var(--wp--preset-spacing-lg) 0;
  }
}

h2 {
  font-weight: normal;
}

.map-container {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border-radius: 12px;
}

.leaflet-map-container {
  border-radius: 12px !important;
  height: 700px;
  width: 100%;
}
@media (max-width: 768px) {
  .leaflet-map-container {
    height: 350px !important;
  }
}
@media (max-width: 480px) {
  .leaflet-map-container {
    height: 300px !important;
  }
}

.map-layout-columns {
  display: flex;
  gap: var(--wp--preset-spacing-lg);
}
.map-layout-columns .wp-block-column:first-child {
  flex-basis: 70%;
}
.map-layout-columns .wp-block-column:last-child {
  flex-basis: 30%;
}
@media (max-width: 768px) {
  .map-layout-columns {
    flex-direction: column;
    gap: var(--wp--preset-spacing-md);
  }
  .map-layout-columns .wp-block-column {
    flex-basis: 100% !important;
    margin-bottom: 1rem;
  }
  .map-layout-columns .wp-block-column:last-child {
    margin-bottom: 0;
  }
}

.map-info-panel {
  background: white;
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  height: -moz-fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
}
.map-info-panel h3 {
  font-size: var(--wp--preset--font-size--normal);
  font-weight: normal;
  margin: 0;
}
.map-info-panel .wp-block-group.legend-items {
  margin: 0;
}
@media (max-width: 768px) {
  .map-info-panel {
    padding: 1rem;
    gap: 1rem;
  }
}

.map-info-title {
  color: var(--wp--preset--color--primary);
  font-size: var(--wp--preset--font-size--large);
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.legend-list, .legend-items {
  list-style: none;
  margin: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .legend-list, .legend-items {
    padding: 0.75rem 1rem;
  }
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--wp--preset--color--foreground);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.legend-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.legend-item:first-child {
  padding-top: 0;
}
.legend-item::before {
  content: "";
  flex-shrink: 0;
}
.legend-item.legend-item-regions::before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2A5D45 0%, #3d7a5c 100%);
  box-shadow: 0 2px 4px rgba(42, 93, 69, 0.25);
}
.legend-item.legend-item-featured::before {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #2A5D45 0%, #3d7a5c 100%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.legend-item.legend-item-trails::before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  box-shadow: 0 2px 4px rgba(217, 119, 6, 0.25);
}
.legend-item.legend-item-info::before {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #6b7280;
  position: relative;
}
.legend-item.legend-item-boundary::before {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #7C3AED 0%, #A855F7 100%);
  box-shadow: 0 1px 2px rgba(124, 58, 237, 0.2);
}
.legend-item.legend-item-difficulty {
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 0.25rem;
}
.legend-item.legend-item-difficulty::before {
  display: none;
}

.legend-difficulty-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  margin: 0;
}

.difficulty-badges {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.mini-badge {
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.mini-badge.mini-badge-easy {
  background: #10b981;
}
.mini-badge.mini-badge-moderate {
  background: #f59e0b;
}
.mini-badge.mini-badge-hard {
  background: #ef4444;
}

.map-controls {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
  margin-top: 1rem;
}

.controls-title {
  color: #1f2937;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.map-control-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .map-control-buttons {
    gap: 0.5rem;
  }
}

.control-button-enhanced {
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  border-width: 2px;
  border-style: solid;
  padding: 0.5rem;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.control-button-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.control-button-enhanced:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
  .control-button-enhanced {
    padding: 0.6rem 1rem;
  }
}

.control-button-regions {
  border-color: #2A5D45;
  background: linear-gradient(135deg, #f0fdf9 0%, #ecfdf5 100%);
}

.control-button-trails {
  border-color: #D97706;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.control-button-fit {
  border-color: #7C3AED;
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.control-button-reset {
  border-color: #6B7280;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.control-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  flex-shrink: 0;
}
.control-icon svg {
  width: 100%;
  height: 100%;
}

.control-link {
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity 0.2s ease;
}
.control-link.control-link-regions {
  color: #2A5D45;
}
.control-link.control-link-trails {
  color: #D97706;
}
.control-link.control-link-fit {
  color: #7C3AED;
}
.control-link.control-link-reset {
  color: #6B7280;
}

.control-button-enhanced:hover .control-link {
  opacity: 0.8;
}

.map-stats {
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
  margin-top: 1rem;
}

.stats-title {
  font-size: 1rem;
  text-align: center;
}

.stat-item {
  margin: 0 0.75rem;
  padding: 0.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 8px;
  border-left: 3px solid var(--wp--preset--color--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.stat-item:last-child {
  margin-bottom: 0;
}

.stat-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
}

p.stat-value {
  font-size: 0.8rem;
  letter-spacing: 0;
  margin: 0;
}

.leaflet-popup-content .map-popup {
  text-align: center;
  min-width: 200px;
}
.leaflet-popup-content .map-popup h4 {
  margin: 0 0 0.5rem 0;
  color: var(--wp--preset--color--primary);
  font-size: 1.1rem;
}
.leaflet-popup-content .map-popup p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
}
.leaflet-popup-content .trail-popup {
  min-width: 280px;
  max-width: 320px;
}

.trail-details {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0.5rem 0;
  flex-wrap: wrap;
}

.difficulty-badge,
.duration-badge {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.difficulty-badge {
  font-weight: lighter;
  margin-left: 0.5rem;
  display: inline;
  color: white;
  background-color: #6b7280;
}
.difficulty-badge.difficulty-easy {
  background-color: #10b981;
}
.difficulty-badge.difficulty-moderate {
  background-color: #f59e0b;
}
.difficulty-badge.difficulty-hard {
  background-color: #ef4444;
}

.duration-badge {
  background-color: #e5e7eb;
  color: #374151;
}

.region-badge {
  background-color: #3b82f6;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trail-stats {
  margin: 0.75rem 0;
  padding: 0.5rem;
  background-color: #f8fafc;
  border-radius: 6px;
  text-align: left;
}
.trail-stats .stat-item {
  margin: 0.3rem 0;
  font-size: 0.85rem;
  color: #4b5563;
  display: flex;
  justify-content: space-between;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}
.trail-stats .stat-item strong {
  font-weight: 600;
  color: #374151;
}

.trail-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  justify-content: space-between;
}
@media (max-width: 768px) {
  .trail-actions {
    flex-direction: column;
    gap: 0.4rem;
  }
}

.trail-actions .popup-link {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  padding: 0.4rem 0.6rem;
}

.popup-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--wp--preset--color--primary);
  color: white !important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85rem;
  transition: background-color 0.2s ease;
}
.popup-link:hover {
  background-color: var(--wp--preset--color--secondary);
}

.info-link {
  background-color: #6b7280 !important;
}
.info-link:hover {
  background-color: #4b5563 !important;
}

@media (max-width: 768px) {
  .leaflet-category-map-section {
    padding: 1rem;
  }
  .map-layout-columns .wp-block-column {
    flex-basis: 100% !important;
    margin-bottom: 1rem;
  }
  .leaflet-map-container {
    height: 350px !important;
  }
  .map-info-panel {
    padding: 1rem;
    gap: 1rem;
  }
  .legend-items {
    padding: 1rem;
    gap: 0.5rem;
  }
  .map-control-buttons {
    gap: 0.5rem;
  }
  .control-button-enhanced {
    padding: 0.6rem 1rem;
  }
  .trail-actions {
    flex-direction: column;
    gap: 0.4rem;
  }
}
@media (max-width: 480px) {
  .leaflet-map-container {
    height: 300px !important;
  }
}
@media (prefers-color-scheme: dark) {
  .leaflet-category-map-section {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: #e5e7eb;
  }
  .map-info-panel {
    background: #1f2937;
    color: #e5e7eb;
  }
  .legend-items {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border-color: rgba(255, 255, 255, 0.1);
  }
  .legend-item {
    border-color: rgba(255, 255, 255, 0.1);
  }
  .legend-text {
    color: #d1d5db;
  }
  .stat-item {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: #d1d5db;
  }
  .stat-label {
    color: #f3f4f6;
  }
  .stat-value {
    color: #9ca3af;
  }
  .control-button-enhanced {
    background: #374151;
    border-color: #4b5563;
    color: #e5e7eb;
  }
  .control-button-enhanced:hover {
    background: #4b5563;
  }
}
@media (prefers-contrast: high) {
  .legend-marker-regions,
  .legend-marker-trails {
    border: 2px solid #000;
  }
  .control-button-enhanced {
    border-width: 3px;
  }
  .difficulty-badge {
    border: 1px solid #000;
  }
}
@media (prefers-reduced-motion: reduce) {
  .control-button-enhanced,
  .popup-link,
  .trail-actions a {
    transition: none;
  }
  .control-button-enhanced:hover {
    transform: none;
  }
}

/*# sourceMappingURL=leaflet-category-map.css.map*/