/**
 * Public styles for Hunter Maps plugin
 *
 * @package Hunter_Maps
 */

/* Import Outfit font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700&display=swap');

/* CSS Variables for customizable colors */
:root {
    --hunter-maps-marker-color: #000000;
    --hunter-maps-list-accent-color: #000000;
    --hunter-maps-search-button-color: #000000;
}

/* Main container */
.hunter-maps-container {
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    /* Page builder compatibility */
    box-sizing: border-box;
    width: 100%;
}
.elementor-element{
    padding: 0 !important;
}

.hunter-maps-wrapper {
    display: flex;
    height: 100%;
}

/* Sidebar styles */
.hunter-maps-sidebar {
    width: 350px;
    background: #ffffff;
    border-left: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    order: 2;
    /* Move sidebar to the right */
}

/* Results list - prevent horizontal overflow */
.hunter-maps-results-list {
    overflow-x: hidden;
    overflow-y: auto;
    word-wrap: break-word;
    word-break: break-word;
}

.hunter-maps-search-section {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.hunter-maps-sidebar-title {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

/* Search and radius row */
.hunter-maps-search-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* Search input wrapper - takes most of the space */
.hunter-maps-search-input-wrapper {
    position: relative;
    flex: 3;
    min-width: 0;
    /* Allow shrinking */
}

.hunter-maps-search-input {
    width: 100%;
    padding: 12px 60px 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    height: 48px;
}

/* When clear button is present, add more padding */
.hunter-maps-search-input-wrapper.has-clear-button .hunter-maps-search-input {
    padding-right: 80px;
}

  .hunter-maps-store-modal,
  .hunter-maps-contact-form-modal {
        padding: 20px;
    }

.hunter-maps-search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}



.hunter-maps-search-button {
    position: absolute;
    right: 2px;
    top: 2px;
    bottom: 2px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hunter-maps-search-button-color);
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hunter-maps-search-button:hover {
    background: var(--hunter-maps-search-button-color);
    opacity: 0.8;
}

.hunter-maps-search-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center;
}

/* Clear search button */
.hunter-maps-clear-search {
    position: absolute;
    right: 54px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #6c757d;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: white;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.hunter-maps-clear-search:hover {
    background: #5a6268;
}

.hunter-maps-clear-search:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(108, 117, 125, 0.3);
}

/* Radius selector - compact size */
.hunter-maps-radius-section {
    flex-shrink: 0;
    min-width: 70px;
    max-width: 80px;
}

.hunter-maps-radius-select {
    width: 100%;
    padding: 0;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 12px;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    height: 48px;
    text-align: center;
}

.hunter-maps-radius-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Location row */
.hunter-maps-location-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Geolocation button */
.hunter-maps-geolocation-button {
    width: 100%;
    padding: 10px 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hunter-maps-geolocation-button:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.hunter-maps-geolocation-button:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.hunter-maps-geolocation-button.loading {
    background: #ffc107;
    color: #212529;
}

.hunter-maps-geolocation-button.success {
    background: #28a745;
    color: white;
}

.hunter-maps-geolocation-button.error {
    background: #dc3545;
    color: white;
}

/* Location buttons container */
.hunter-maps-location-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Clear location button */
.hunter-maps-clear-location-button {
    width: 100%;
    padding: 8px 16px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hunter-maps-clear-location-button:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.hunter-maps-clear-location-button .hunter-maps-clear-icon {
    font-size: 14px;
}

/* Location indicator */
.hunter-maps-location-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    margin-bottom: 8px;
}

.hunter-maps-location-indicator.default-location {
    background: #f8f9fa;
    color: #495057;
    border-color: #dee2e6;
}

.hunter-maps-location-indicator.user-location {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.hunter-maps-location-indicator.state-search {
    background: #e2e3e5;
    color: #383d41;
    border-color: #d6d8db;
}

.hunter-maps-location-indicator.proximity-search {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

.hunter-maps-location-indicator .location-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.hunter-maps-location-indicator .search-mode-text {
    font-size: 11px;
    opacity: 0.8;
    font-style: italic;
}

/* Temporary messages */
.hunter-maps-temp-message {
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 12px;
    border: 1px solid transparent;
    animation: fadeInDown 0.3s ease;
}

.hunter-maps-temp-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

.hunter-maps-temp-message.success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.hunter-maps-temp-message.warning {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.hunter-maps-temp-message.error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hunter-maps-location-indicator .location-text {
    flex: 1;
    font-weight: 500;
}

/* Temporary messages */
.hunter-maps-temp-message {
    padding: 8px 12px;
    margin-bottom: 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    animation: slideInDown 0.3s ease;
}

.hunter-maps-temp-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.hunter-maps-temp-message.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.hunter-maps-temp-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Loading indicator */
.hunter-maps-loading {
    padding: 20px;
    text-align: center;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hunter-maps-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: hunter-maps-spin 1s linear infinite;
}

@keyframes hunter-maps-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Results section */
.hunter-maps-results-section {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hunter-maps-results-header {
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hunter-maps-results-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.hunter-maps-results-count {
    font-size: 14px;
    color: #6c757d;
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 12px;
}

.hunter-maps-results-list {
    padding: 0;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #6c757d #f1f1f1 !important;
    scroll-behavior: smooth;
}

/* Webkit scrollbar styling - same color as active item border - with !important to override inline styles */
.hunter-maps-results-list::-webkit-scrollbar {
    width: 6px !important;
}

.hunter-maps-results-list::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 3px !important;
}

.hunter-maps-results-list::-webkit-scrollbar-thumb {
    background: #6c757d !important;
    border-radius: 3px !important;
    transition: background-color 0.2s ease !important;
}

.hunter-maps-results-list::-webkit-scrollbar-thumb:hover {
    background: #5a6268 !important;
}

/* Scroll indicators */
.hunter-maps-results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.hunter-maps-results-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.hunter-maps-results-section.scrollable-top::before {
    opacity: 1;
}

.hunter-maps-results-section.scrollable-bottom::after {
    opacity: 1;
}

/* No results message - now inside results list */
.hunter-maps-no-results {
    padding: 30px 20px;
    text-align: center;
    color: #6c757d;
    background: #f8f9fa;
    border-radius: 6px;
    margin: 20px;
    border: 1px solid #e9ecef;
}

.hunter-maps-no-results p {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 500;
}

.hunter-maps-no-results-suggestion {
    font-size: 14px;
    color: #868e96;
    margin: 0;
}

/* Map container */
.hunter-maps-map-container {
    flex: 1;
    position: relative;
    height: 100vh;
    max-height: 100vh;
    order: 1;
    /* Move map to the left */
}

.hunter-maps-map-container.full-width {
    width: 100%;
}

.hunter-maps-map {
    width: 100%;
    height: 100%;
}



/* Error overlay */
.hunter-maps-error-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 215, 218, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.hunter-maps-error-content {
    background: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
}

.hunter-maps-error-content h4 {
    margin: 0 0 16px 0;
    color: #721c24;
    font-size: 18px;
}

.hunter-maps-error-content p {
    margin: 0 0 20px 0;
    color: #721c24;
}

.hunter-maps-retry-button {
    padding: 10px 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.hunter-maps-retry-button:hover {
    background: #c82333;
}

/* Modal styles */
/* Modal styles moved to #hunter-maps-modal-overlay section below */

.hunter-maps-modal-content {
    position: relative;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-height: 80vh;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.hunter-maps-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hunter-maps-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.hunter-maps-modal-close {
    background: #000000 !important;
    border: none;
    font-size: 24px;
    cursor: pointer !important;
    color: #ffffff !important;
    padding: 8px !important;
    width: 40px !important;
    height: 40px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 1000;
}

.hunter-maps-modal-close:hover {
    background: #000000 !important;
    color: #ffffff !important;
    cursor: pointer !important;
}

/* Ensure SVG inside button doesn't interfere with click */
.hunter-maps-modal-close svg,
.hunter-maps-modal-close .hunter-icon {
    pointer-events: none !important;
    cursor: pointer !important;
    width: 18px;
    height: 18px;
}

/* Specific styles for close button variants */
.hunter-maps-modal-close-btn {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 8px !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.2s ease !important;
    position: relative !important;
    z-index: 1000 !important;
}

.hunter-maps-modal-close-btn:hover {
    background: #f8f9fa !important;
    cursor: pointer !important;
}

.hunter-maps-modal-close-btn svg,
.hunter-maps-modal-close-btn .hunter-icon {
    pointer-events: none !important;
    cursor: pointer !important;
    width: 18px !important;
    height: 18px !important;
}

.hunter-maps-modal-body {
    overflow-y: visible;
    flex: 1;
}

/* API Key error */
.hunter-maps-api-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    margin: 16px 0;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    font-size: 14px;
}

.hunter-maps-api-error a {
    color: #721c24;
    text-decoration: underline;
}

.hunter-maps-api-error a:hover {
    text-decoration: none;
}

/* Custom Google Maps Controls removed - using template HTML controls instead */

/* Info window styles */
.hunter-maps-info-window {
    font-family: "Outfit", Sans-serif;
    max-width: 280px;
}

.hunter-maps-info-window .store-name {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 500;
    color: #5B6770;
    font-family: "Outfit", Sans-serif;
    text-transform: uppercase;
}

.hunter-maps-info-window .store-type {
    margin: 0 0 6px 0;
    font-size: 14px;
    color: #5B6770;
    font-style: normal;
    font-family: "Outfit", Sans-serif;
    font-weight: 200;
}

.hunter-maps-info-window .store-address {
    margin: 0 0 6px 0;
    font-size: 14px;
    color: #5B6770;
    line-height: 1.4;
    font-family: "Outfit", Sans-serif;
    font-weight: 200;
}

.hunter-maps-info-window .store-phone {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-family: "Outfit", Sans-serif;
    font-weight: 200;
}

.hunter-maps-info-window .store-phone a {
    color: #5B6770;
    text-decoration: none;
    font-family: "Outfit", Sans-serif;
}

.hunter-maps-info-window .store-phone a:hover {
    color: #ED8B00;
    text-decoration: none;
}

.hunter-maps-info-window .store-distance {
    margin: 0 0 12px 0;
    font-size: 13px;
    color: #5B6770;
    font-weight: 200;
    font-family: "Outfit", Sans-serif;
}

.hunter-maps-info-window .view-details-btn {
    background: transparent;
    color: #ED8B00;
    border: 1px solid #ED8B00;
    padding: 8px 16px;
    border-radius: 0px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    font-family: "Outfit", Sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

.hunter-maps-info-window .view-details-btn:hover {
    background: #ED8B00;
    color: white;
}

/* Store details content in modal */
.store-details-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.store-details-content p {
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.store-details-content p:last-child {
    margin-bottom: 0;
}

.store-details-content strong {
    font-weight: 600;
    color: #212529;
}

.store-details-content a {
    color: #5B6770;
    text-decoration: none;
    font-family: "Outfit", Sans-serif;
}

.store-details-content a:hover {
    color: #ED8B00;
    text-decoration: none;
}

/* Result list item styles - Updated to match modal colors and numbered display */
.result-item {
    padding: 16px 20px;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    font-family: "Outfit", Sans-serif;
    position: relative;
}

.result-item:hover {
    background: #f8f9fa;
    border-left: 4px solid var(--hunter-maps-list-accent-color);
    padding-left: 16px;
}

.result-item:last-child {
    border-bottom: none;
}

/* Numbered marker for list items - Square format, inline with store name */
.result-item .store-number {
    width: 24px;
    height: 24px;
    background-color: var(--hunter-maps-list-accent-color);
    color: #ffffff;
    border-radius: 4px;
    /* Square with slightly rounded corners */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    font-family: Arial, sans-serif;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(237, 139, 0, 0.3);
    margin-right: 8px;
    vertical-align: middle;
}

.result-item:hover .store-number {
    background-color: var(--hunter-maps-list-accent-color);
}



/* Highlighted/selected state */
.result-item.active,
.result-item.highlighted {
    background: #f8f9fa;
    border-left: 4px solid var(--hunter-maps-list-accent-color);
    padding-left: 16px;
}

.result-item.active .store-number,
.result-item.highlighted .store-number {
    background-color: var(--hunter-maps-list-accent-color);
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(237, 139, 0, 0.3);
}



/* Smooth animations for numbered markers */
@keyframes numberPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.result-item .store-number.pulse {
    animation: numberPulse 0.6s ease-in-out;
}

/* Visual indicators for correspondence between list and map */
.result-item.map-highlighted {
    background: #e9ecef;
    border-left: 4px solid var(--hunter-maps-list-accent-color);
    padding-left: 16px;
}

.result-item.map-highlighted .store-number {
    background-color: var(--hunter-maps-list-accent-color);
    animation: numberPulse 0.6s ease-in-out;
}

.store-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.store-name {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    color: #636363;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: "Outfit", Sans-serif;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Store type text - simple styling */
.store-type-text {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    color: #666;
    background: #f5f5f5;
    border-radius: 3px;
    margin-left: 8px;
}

/* Store Type Filters */
.hunter-maps-filters-section {
    padding: 15px;
}

.hunter-maps-filters-title {
    display: none;
}

.hunter-maps-type-filters {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hunter-maps-filter-item {
    display: flex;
    align-items: center;
}

.hunter-maps-filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 0;
    width: 100%;
    font-size: 13px;
    transition: color 0.2s ease;
}

.hunter-maps-filter-label:hover {
    color: #007bff;
}

.hunter-maps-type-filter {
    margin: 0;
    cursor: pointer;
}

.hunter-maps-filter-text {
    flex: 1;
    font-weight: 400;
    font-size: 11px;
    line-height: 17px;
    color: rgb(153, 153, 153);
    font-family: system-ui;
}

.hunter-maps-filter-count {
    display: none;
}

.hunter-maps-filter-help {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAWdEVYdENyZWF0aW9uIFRpbWUAMDMvMTgvMTW+kDlsAAABI0lEQVQokXXSPSuGcRQG8B+eKGQwGBSegUIMz2A0KJRCUhYZlE0Kq48geckqgzAYlJSegZTN6K28FAbkS/AY7v9df3dc0+lc1zld54XfKMc4dvGEZxxjBtWxsCyKu7CGD5zgGl9owxAKWMZR3KATn5jyP/rwgv40UYlTTEYuFnGPW6ygPnAF3KAFxrAfdV5ACTvYCvFmxK9jA/YwERHzKIY4HwqLEd8RHHpB+x8zteEB3xiO8jkUc2Gmr0xRGQ7DLAM4y/ClnGQJrZK7xdgOuWxRA6rKcYDRDFkpOVHB71vDNN6gFpfojcgavOJc8k0pGvEoeRYwEoQ9kaguNE2RxwVmMw4M4kpy8G5UBJvNWMId5lJx1n+T5AFSK6Wgeceq5JPAD3RaOdF8Dm8SAAAAAElFTkSuQmCC");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    cursor: help;
    margin-left: 6px;
    transition: opacity 0.2s ease;
}

.hunter-maps-filter-help:hover {
    opacity: 0.7;
}

/* Tooltip styles */
.hunter-maps-tooltip {
    position: absolute;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    max-width: 200px;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.hunter-maps-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #333;
}

/* Hide results count display and header */
.hunter-maps-results-count,
.hunter-maps-results-header,
.hunter-maps-results-title {
    display: none !important;
}

.store-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.store-details span {
    font-size: 13px !important;
    font-weight: 400;
    line-height: 20px;
    color: rgb(31, 31, 31);
    font-family: system-ui;
}

/* Add location icon to address */
.store-details .store-address::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 12px;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAMCAYAAABfnvydAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAWdEVYdENyZWF0aW9uIFRpbWUAMDMvMjgvMTX5MEO8AAAArUlEQVQYlW3PsVHEQAxG4c8e56YDKIFIKZRAB9ABpgN3wJVwdOAWCFcJV8LRAa5gCVgzNzdWpNF7I+nvaq0y8wkH3Pqrb0wRsXSllAnv9uutK6X8YMTatsC0zYbWwGNEnCAzjzhh7Bv83CBExLkJNuE+M2+u7t/B0G6PWDJzanBuidYBR7ziAV9XW5a+fb7uRFwx9+2heUc4RMS5q7W6iPbc4EdEvMC/cCHZIPwCXSc+6ehqFEcAAAAASUVORK5CYII=");
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 6px;
    vertical-align: middle;
}

.store-details .store-address {
    font-size: 14px;
    font-weight: 400;
    line-height: 13px;
    color: rgb(31, 31, 31);
    font-family: "Outfit", Sans-serif;
}

.store-details .distance {
    font-weight: 400;
    color: rgb(31, 31, 31) !important;
    font-family: "Outfit", Sans-serif;
    margin-top: 4px;
    display: block;
}

/* Distance element styling - positioned below address (Task 1.2 - Requirements 2.1, 2.2, 2.3) */
.distance {
    color: rgb(153, 153, 153) !important;
    background: none !important;
    padding: 0;
    border-radius: 0;
    font-size: 9px;
    font-weight: 600;
    line-height: 14px;
    margin-top: 4px;
    margin-left: 0;
    display: block;
    font-family: system-ui;
}

/* Remove prefix from distance display */
.distance::before {
    content: "";
}

.view-details-btn {
    background: transparent;
    color: #ED8B00;
    border: 1px solid #ED8B00;
    padding: 8px 16px;
    border-radius: 0px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-left: 12px;
    font-family: "Outfit", Sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}

.view-details-btn:hover {
    background: #ED8B00;
    color: white;
}

/* Mobile-first responsive design */

/* Touch-friendly controls */
.hunter-maps-container {
    touch-action: manipulation;
}

/* Collapsible sidebar for mobile */
.hunter-maps-sidebar {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.hunter-maps-sidebar.collapsed {
    max-height: 60px;
    overflow: hidden;
}

.hunter-maps-sidebar-toggle {
    display: none;
    width: 100%;
    padding: 12px 20px;
    background: #f8f9fa;
    border: none;
    border-bottom: 1px solid #dee2e6;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-align: left;
    position: relative;
}

.hunter-maps-sidebar-toggle:hover {
    background: #e9ecef;
}

.hunter-maps-sidebar-toggle::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.hunter-maps-sidebar.collapsed .hunter-maps-sidebar-toggle::after {
    transform: translateY(-50%) rotate(-90deg);
}

/* Fullscreen mode for mobile */
.hunter-maps-container.fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
    background: white;
}

.hunter-maps-container.fullscreen .hunter-maps-wrapper {
    height: 100vh;
}

.hunter-maps-container.fullscreen .hunter-maps-map-container {
    height: 100% !important;
}

.hunter-maps-fullscreen-toggle {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    transition: all 0.2s ease;
}

.hunter-maps-fullscreen-toggle:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

/* Enhanced touch controls for map */
.hunter-maps-map {
    touch-action: pan-x pan-y;
}

/* Improved modal for mobile */
#hunter-maps-modal-overlay {
    padding: 0;
}

#hunter-maps-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    max-height: none;
    margin: 0;
    border-radius: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

#hunter-maps-modal.show {
    transform: translateY(0);
}

#hunter-maps-modal-content {
    height: 100%;
    overflow-y: overlay;
    border-radius: 0;
}

/* Gesture support indicators */
.hunter-maps-gesture-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hunter-maps-gesture-hint.show {
    opacity: 1;
}

/* Responsive breakpoints */

/* Small mobile devices (up to 480px) */
@media (max-width: 480px) {
    .hunter-maps-container {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .hunter-maps-wrapper {
        flex-direction: column;
        height: 100%;
    }

    .hunter-maps-sidebar {
        width: 100%;
        max-height: 250px;
        border-left: none;
        border-bottom: 1px solid #dee2e6;
        order: 1;
        position: relative;
    }

    .hunter-maps-sidebar-toggle {
        display: block;
    }

    .hunter-maps-map-container {
        flex: 1;
        height: 100vh;
        max-height: 100vh;
        order: 2;
        position: relative;
    }

    .hunter-maps-fullscreen-toggle {
        display: block;
    }

    /* Compact search layout */
    .hunter-maps-search-section {
        padding: 12px;
    }

    .hunter-maps-sidebar-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .hunter-maps-search-row {
        flex-direction: row;
        gap: 8px;
        align-items: stretch;
    }

    .hunter-maps-search-input-wrapper {
        flex: 1;
        min-width: 0;
    }

    .hunter-maps-search-input {
        padding: 12px 40px 12px 12px;
        font-size: 16px;
        /* Prevent zoom on iOS */
        width: 100%;
    }

    .hunter-maps-radius-section {
        flex-shrink: 0;
        width: auto;
        min-width: 90px;
    }

    .hunter-maps-radius-select {
        padding: 12px 8px;
        font-size: 16px;
        /* Prevent zoom on iOS */
        width: 100%;
    }

    /* Touch-friendly buttons */
    .hunter-maps-geolocation-button,
    .hunter-maps-clear-location-button {
        padding: 14px 16px;
        font-size: 14px;
        min-height: 44px;
        /* iOS touch target minimum */
    }

    /* Results list - removed max-height to allow full expansion */
    .hunter-maps-results-list {
        flex: 1;
        overflow-y: auto;
    }

    .result-item {
        padding: 12px;
        min-height: 60px;
        gap: 10px;
    }

    /* Smaller numbered markers for mobile - Square format, inline */
    .result-item .store-number {
        width: 20px;
        height: 20px;
        font-size: 10px;
        border-radius: 3px;
        /* Square with slightly rounded corners for mobile */
        margin-right: 6px;
    }

    /* Adjust hover effects for mobile */
    .result-item:hover {
        padding-left: 12px;
        border-left: 3px solid var(--hunter-maps-list-accent-color);
    }

    .result-item.active,
    .result-item.highlighted {
        padding-left: 12px;
        border-left: 3px solid var(--hunter-maps-list-accent-color);
    }

    .store-name {
        font-size: 14px;
    }

    .store-details span {
        font-size: 12px;
    }

    .view-details-btn {
        padding: 6px 12px;
        font-size: 12px;
        min-height: 36px;
    }

    /* Mobile modal improvements */
    #hunter-maps-modal {
        border-radius: 0;
        max-height: 90vh;
        transform: translateY(100%);
    }

    #hunter-maps-modal.show {
        transform: translateY(0);
    }

    .hunter-maps-store-modal {
        padding: 30px;
    }



    .hunter-maps-contact-item {
        padding: 12px 0 0 0;
        flex-wrap: wrap;
    }

    .hunter-maps-contact-button {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 40px;
        width: 100%;
    }
}

/* Medium mobile devices (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hunter-maps-wrapper {
        flex-direction: column;
    }

    .hunter-maps-sidebar {
        width: 100%;
        max-height: 300px;
        border-left: none;
        border-bottom: 1px solid #dee2e6;
        order: 1;
    }

    .hunter-maps-sidebar-toggle {
        display: block;
    }

    .hunter-maps-map-container {
        height: 100vh;
        max-height: 100vh;
        order: 2;
    }

    .hunter-maps-fullscreen-toggle {
        display: block;
    }

    .hunter-maps-search-row {
        flex-direction: row;
        gap: 10px;
    }

    .hunter-maps-search-input {
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    .hunter-maps-radius-select {
        font-size: 16px;
        /* Prevent zoom on iOS */
        min-width: 100px;
    }

    /* Modal adjustments for tablets */
    #hunter-maps-modal {
        max-width: 90vw;
        max-height: 80vh;
        margin: 5vh auto;
        border-radius: 8px;
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }

    #hunter-maps-modal.show {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Large tablets and small desktops (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hunter-maps-search-row {
        gap: 10px;
    }

    .hunter-maps-radius-section {
        min-width: 85px;
    }

    .hunter-maps-search-input {
        font-size: 14px;
    }

    .hunter-maps-radius-select {
        font-size: 14px;
        padding: 10px 6px;
    }

    /* Modal for larger tablets */
    #hunter-maps-modal {
        max-width: 600px;
        max-height: 80vh;
    }
}

/* Desktop and larger screens (1025px+) */
@media (min-width: 1025px) {
    .hunter-maps-sidebar-toggle {
        display: none;
    }

    .hunter-maps-fullscreen-toggle {
        display: none;
    }

    /* Hover effects for desktop */
    .hunter-maps-search-input:hover {
        border-color: #007bff;
    }

    .hunter-maps-radius-select:hover {
        border-color: #007bff;
    }

    .result-item:hover {
        background: #f8f9fa;
        transform: translateX(2px);
    }

    .view-details-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(237, 139, 0, 0.3);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hunter-maps-container {
        border-width: 0.5px;
    }

    .hunter-maps-search-input,
    .hunter-maps-radius-select {
        border-width: 1px;
    }
}

/* Mobile responsive layout - Portrait mode */
@media (max-width: 768px) {

    /* Container should fill viewport without overflow */
    .hunter-maps-container {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        border-radius: 0;
        border-left: none;
        border-right: none;
        position: relative !important;
        overflow: hidden !important;
    }

    /* Change wrapper to column layout */
    .hunter-maps-wrapper {
        flex-direction: column !important;
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        overflow: hidden !important;
    }

    /* Map container - Position at top */
    .hunter-maps-map-container {
        order: 1;
        width: 100% !important;
        height: 50vh !important;
        min-height: 50vh !important;
        max-height: 50vh !important;
        flex-shrink: 0;
        overflow: hidden !important;
    }

    /* Sidebar - Position below map and fill remaining space */
    .hunter-maps-sidebar {
        order: 2;
        width: 100% !important;
        height: 50vh !important;
        min-height: 50vh !important;
        max-height: 50vh !important;
        border-left: none;
        border-top: 1px solid #dee2e6;
        border-right: none;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        flex-shrink: 0;
        flex-grow: 0;
    }

    /* Remove any collapsed state on mobile */
    .hunter-maps-sidebar.collapsed {
        height: 50vh !important;
        max-height: 50vh !important;
        overflow-y: auto !important;
    }



    /* Adjust internal padding for mobile */
    .hunter-maps-search-section {
        padding: 16px;
        position: relative;
        z-index: 100;
        overflow: visible;
    }

    /* Search row - side by side layout */
    .hunter-maps-search-row {
        flex-direction: row !important;
        gap: 8px;
        align-items: stretch;
        position: relative;
        overflow: visible;
    }

    .hunter-maps-search-input-wrapper {
        flex: 1;
        min-width: 0;
    }

    .hunter-maps-search-input {
        width: 100%;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    .hunter-maps-radius-section {
        flex-shrink: 0;
        width: auto;
        min-width: 100px;
        max-width: 120px;
        position: relative;
        z-index: 100;
        /* Ensure dropdown doesn't get cut off */
        overflow: visible;
    }

    .hunter-maps-radius-select {
        width: 100%;
        font-size: 16px;
        /* Prevent zoom on iOS */
        padding: 12px 8px;
        text-align: left;
        text-align-last: center;
        direction: ltr;
        /* Ensure native select behavior */
        appearance: auto;
        -webkit-appearance: menulist;
        -moz-appearance: menulist;
        /* Prevent overflow issues */
        box-sizing: border-box;
    }

    .hunter-maps-results-header {
        padding: 12px 16px;
    }

    .result-item {
        padding: 12px 16px;
    }

    /* Results section should fill available space without overflow */
    .hunter-maps-results-section {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        height: 100%;
        max-height: 100%;
    }

    /* Results list should be scrollable and fill space without causing page scroll */
    .hunter-maps-results-list {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        height: 100%;
        max-height: 100%;
        contain: layout style paint;
    }

    /* Ensure adequate spacing between map and sidebar */
    .hunter-maps-map-container {
        margin-bottom: 0;
    }

    .hunter-maps-sidebar {
        margin-top: 0;
        padding-top: 0;
        display: flex;
        flex-direction: column;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {

    /* Keep column layout but adjust heights for landscape */
    .hunter-maps-map-container {
        height: 60vh;
        min-height: 250px;
    }

    .hunter-maps-sidebar {
        max-height: 40vh;
        overflow-y: auto;
    }

    /* Maintain consistent padding in landscape */
    .hunter-maps-search-section {
        padding: 12px 16px;
    }

    .result-item {
        padding: 10px 16px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {

    .hunter-maps-sidebar,
    .hunter-maps-sidebar-toggle::after,
    #hunter-maps-modal,
    .hunter-maps-fullscreen-toggle,
    .hunter-maps-gesture-hint {
        transition: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .hunter-maps-container {
        border: 2px solid #000;
    }

    .hunter-maps-search-input,
    .hunter-maps-radius-select {
        border: 2px solid #000;
    }

    .hunter-maps-geolocation-button,
    .hunter-maps-contact-button {
        border: 2px solid #000;
    }
}

/* Body scroll prevention for mobile */
body.modal-open,
body.fullscreen-active {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Prevent page scroll when map is active on mobile */
@media (max-width: 768px) {
    body:has(.hunter-maps-container) {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Ensure html doesn't scroll either */
    html:has(.hunter-maps-container) {
        overflow: hidden !important;
        height: 100% !important;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {

    .hunter-maps-search-input,
    .hunter-maps-radius-select {
        font-size: 16px !important;
        /* Prevent zoom on focus */
    }

    .hunter-maps-container.fullscreen {
        /* Fix for iOS Safari viewport units */
        height: 100vh;
        height: -webkit-fill-available;
    }
}

/* Android Chrome specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
    .hunter-maps-container.fullscreen {
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
    }
}

/* Print styles */
@media print {
    .hunter-maps-container {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .hunter-maps-sidebar-toggle,
    .hunter-maps-fullscreen-toggle,
    .hunter-maps-gesture-hint {
        display: none !important;
    }

    .hunter-maps-sidebar {
        max-height: none !important;
    }
}

/* Tablet responsive adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .hunter-maps-search-row {
        gap: 10px;
    }

    .hunter-maps-radius-section {
        min-width: 85px;
    }

    .hunter-maps-search-input {
        font-size: 13px;
    }

    .hunter-maps-radius-select {
        font-size: 13px;
        padding: 10px 6px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .hunter-maps-search-section {
        padding: 16px;
    }

    .hunter-maps-sidebar-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .hunter-maps-search-input {
        padding: 10px 40px 10px 12px;
        font-size: 14px;
    }

    .hunter-maps-search-button {
        right: 6px;
        padding: 6px;
    }

    .hunter-maps-radius-select {
        padding: 10px 8px;
        font-size: 14px;
    }

    .hunter-maps-location-indicator {
        padding: 8px 10px;
        font-size: 12px;
    }

    .hunter-maps-geolocation-button {
        padding: 10px 14px;
        font-size: 13px;
        gap: 6px;
    }
    
    .hunter-maps-contact-button {
        padding: 10px 14px;
        font-size: 13px;
        min-height: 36px;
    }
}

/* Enhan
ced Modal Styles for Store Information */
#hunter-maps-modal-overlay {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

#hunter-maps-modal {
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#hunter-maps-modal-content {
    position: relative;
    max-height: inherit;
}

#hunter-maps-modal-content::-webkit-scrollbar {
    width: 6px;
}

#hunter-maps-modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#hunter-maps-modal-content::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 3px;
}

#hunter-maps-modal-content::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Store modal header styles */
.hunter-maps-modal h2 {
    font-family: 'Roboto', sans-serif !important;
    font-style: normal !important;
    font-weight: 200 !important;
    font-size: 19px !important;
    line-height: 29px !important;
    color: #5B6770 !important;
    word-wrap: break-word;
    transition: color 0.2s ease !important;
}

.hunter-maps-modal h2:hover {
    color: rgb(237, 139, 0) !important;
}




.hunter-maps-modal-header {
    padding: 20px 50px 15px 20px;
}

.hunter-maps-modal-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e9ecef 20%, #e9ecef 80%, transparent);
    margin: 15px 0;
}

.hunter-maps-modal-body {
    max-height: 300px;
    overflow-y: auto;
}

.hunter-maps-modal-footer {
    /* padding: 15px 20px 20px; */
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.hunter-maps-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0 0 0;
    border-bottom: 1px solid #f8f9fa;
}

.hunter-maps-contact-item:last-child {
    border-bottom: none;
}

.hunter-maps-contact-icon {
    width: 20px;
    height: 20px;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

.hunter-maps-contact-icon .hunter-icon {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.hunter-maps-contact-text {
    flex: 1;
    font-size: 14px;
    color: #495057;
}

.hunter-maps-store-name {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #212529;
}

.hunter-maps-contact-button {
    background: #ff9800;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.hunter-maps-contact-button:hover {
    background: #f57c00;
    transform: translateY(-1px);
}

.hunter-maps-contact-button-disabled {
    background: #6c757d !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.hunter-maps-contact-button-disabled:hover {
    background: #6c757d !important;
    transform: none !important;
}



/* Contact information styles */
.hunter-maps-modal .contact-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
}

.hunter-maps-modal .contact-info svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.hunter-maps-modal .contact-info span,
.hunter-maps-modal .contact-info a {
    font-family: 'Roboto', sans-serif !important;
    font-style: normal !important;
    font-weight: 200 !important;
    font-size: 19px !important;
    line-height: 29px !important;
    color: #5B6770 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    transition: color 0.2s ease !important;
}

.hunter-maps-modal .contact-info span:hover,
.hunter-maps-modal .contact-info a:hover {
    color: rgb(237, 139, 0) !important;
}

/* Address section styles */
.hunter-maps-modal .address-section {
    border-left: 4px solid #e9ecef;
    transition: border-color 0.2s ease;
}

.hunter-maps-modal .address-section:hover {
    border-left-color: #007bff;
}

.hunter-maps-modal .address-section h3 {
    font-family: 'Roboto', sans-serif !important;
    font-style: normal !important;
    font-weight: 200 !important;
    font-size: 19px !important;
    line-height: 29px !important;
    color: #5B6770 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease !important;
}

.hunter-maps-modal .address-section h3:hover {
    color: rgb(237, 139, 0) !important;
}

.hunter-maps-modal .address-section h3::before {
    content: "📍";
    font-size: 14px;
}

/* Operating hours section */
.hunter-maps-modal .hours-section {
    border-left: 4px solid #e3f2fd;
    transition: border-color 0.2s ease;
}

.hunter-maps-modal .hours-section:hover {
    border-left-color: #2196f3;
}

.hunter-maps-modal .hours-section h3 {
    font-family: 'Roboto', sans-serif !important;
    font-style: normal !important;
    font-weight: 200 !important;
    font-size: 19px !important;
    line-height: 29px !important;
    color: #5B6770 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease !important;
}

.hunter-maps-modal .hours-section h3:hover {
    color: rgb(237, 139, 0) !important;
}

.hunter-maps-modal .hours-section h3::before {
    content: "🕒";
    font-size: 14px;
}

/* Action buttons container */
.hunter-maps-modal .action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.hunter-maps-modal .action-buttons a,
.hunter-maps-modal .action-buttons button {
    flex: 1;
    min-width: 120px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
}

.hunter-maps-modal .action-buttons a:hover,
.hunter-maps-modal .action-buttons button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hunter-maps-modal .action-buttons a:active,
.hunter-maps-modal .action-buttons button:active {
    transform: translateY(0);
}

/* Email button */
.hunter-maps-modal .email-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hunter-maps-modal .email-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* Phone button */
.hunter-maps-modal .phone-btn {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.hunter-maps-modal .phone-btn:hover {
    background: linear-gradient(135deg, #0f877c 0%, #32d96b 100%);
}

/* Website button */
.hunter-maps-modal .website-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hunter-maps-modal .website-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}


#hunter-maps-modal-close {
    cursor: pointer !important;
    padding: 8px !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000000 !important;
    color: #ffffff !important;
}

#hunter-maps-modal-close:hover {
    background: #000000 !important;
    color: #ffffff !important;
    cursor: pointer !important;
}

#hunter-maps-modal-close svg,
#hunter-maps-modal-close .hunter-icon {
    width: 18px;
    height: 18px;
    pointer-events: none !important;
    cursor: pointer !important;
}

/* Distance badge */
.hunter-maps-modal .distance-badge {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    color: #2c3e50;
    font-weight: 600;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hunter-maps-modal .distance-badge::before {
    content: "📍";
    font-size: 10px;
}

/* Responsive modal styles */
@media (max-width: 640px) {

    #hunter-maps-modal {
        max-width: none;
        width: 100%;
        margin: 0;
    }

    /* #hunter-maps-modal-content {
        padding: 20px;
    } */

    .hunter-maps-modal h2 {
        font-size: 20px;
        padding-right: 40px;
    }

    .hunter-maps-modal .action-buttons {
        flex-direction: column;
    }

    .hunter-maps-modal .action-buttons a,
    .hunter-maps-modal .action-buttons button {
        flex: none;
        width: 100%;
    }

    .hunter-maps-modal .contact-info {
        flex-direction: column;
        gap: 8px;
    }

    .hunter-maps-modal .contact-info svg {
        margin-top: 0;
    }
}

/* Animation for modal entrance */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalSlideOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    to {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
}

.hunter-maps-modal-enter {
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hunter-maps-modal-exit {
    animation: modalSlideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Focus styles for accessibility */
#hunter-maps-modal-close:focus,
.hunter-maps-modal .action-buttons a:focus,
.hunter-maps-modal .action-buttons button:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    #hunter-maps-modal {
        border: 2px solid #000;
    }

    .hunter-maps-modal .action-buttons a,
    .hunter-maps-modal .action-buttons button {
        border: 1px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    #hunter-maps-modal {
        transition: opacity 0.2s ease;
        transform: none !important;
    }

    .hunter-maps-modal .action-buttons a:hover,
    .hunter-maps-modal .action-buttons button:hover {
        transform: none;
    }

    #hunter-maps-modal-close:hover {
        transform: none;
    }
}


/* Gutenberg block compatibility */
.wp-block-group .hunter-maps-container,
.wp-block-column .hunter-maps-container {
    width: 100% !important;
}

/* General page builder container compatibility */
.hunter-maps-container * {
    box-sizing: border-box;
}

/* Ensure flexbox works in all page builders */
.hunter-maps-wrapper {
    width: 100%;
    /* min-height: 400px;
    max-height: 800px; */
}

/* Additional responsive breakpoints for better page builder support */
@media (max-width: 1024px) and (min-width: 769px) {
    .hunter-maps-sidebar {
        width: 300px;
        /* Slightly smaller sidebar on tablets */
    }
}

@media (max-width: 480px) {
    .hunter-maps-sidebar {
        max-height: 250px;
        /* Smaller sidebar on very small screens */
    }

    .hunter-maps-map-container {
        min-height: 250px;
    }
}

/*
 Cluster marker styles */
.hunter-maps-cluster {
    background: #4285F4;
    border: 3px solid #ffffff;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
    user-select: none;
}

.hunter-maps-cluster:hover {
    transform: scale(1.1);
}

/* Cluster animation */
@keyframes cluster-bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        transform: translate3d(0, -30px, 0);
    }

    70% {
        transform: translate3d(0, -15px, 0);
    }

    90% {
        transform: translate3d(0, -4px, 0);
    }
}

.hunter-maps-cluster.bounce {
    animation: cluster-bounce 1.4s ease-in-out;
}

/* Cluster size variations */
.hunter-maps-cluster.small {
    width: 40px;
    height: 40px;
    font-size: 12px;
}

.hunter-maps-cluster.medium {
    width: 50px;
    height: 50px;
    font-size: 14px;
    background: #1976D2;
}

.hunter-maps-cluster.large {
    width: 60px;
    height: 60px;
    font-size: 16px;
    background: #0D47A1;
}

/* Performance optimization for clustering */
.hunter-maps-map-container .gm-style>div>div>div>div[style*="cursor: pointer"] {
    transition: transform 0.2s ease;
}

.hunter-maps-map-container .gm-style>div>div>div>div[style*="cursor: pointer"]:hover {
    transform: scale(1.05);
}

/*
 Store Modal Styles */
.hunter-maps-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.hunter-maps-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hunter-maps-modal {
    background: white;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.hunter-maps-modal-overlay.active .hunter-maps-modal {
    transform: scale(1);
}

.hunter-maps-modal-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
}

.hunter-maps-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #212529;
}

.hunter-maps-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.hunter-maps-modal-close:hover {
    background: #e9ecef;
    color: #495057;
}

.hunter-maps-modal-body {
    max-height: 400px;
    overflow-y: auto;
}

.hunter-maps-modal-body p {
    margin: 0 0 15px 0;
    line-height: 1.5;
}

.hunter-maps-modal-body p:last-child {
    margin-bottom: 0;
}

.hunter-maps-modal-body strong {
    color: #495057;
    font-weight: 600;
}

.hunter-maps-modal-body a {
    color: #4285f4;
    text-decoration: none;
}

.hunter-maps-modal-body a:hover {
    text-decoration: underline;
}

.hunter-maps-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.hunter-maps-contact-btn {
    background: #ff9800;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hunter-maps-contact-btn:hover {
    background: #f57c00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.hunter-maps-contact-btn:active {
    transform: translateY(0);
}

/* Store list item click styles */
.hunter-maps-store-item {
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

#hunter-maps-modal-close{
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    border: none;
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
}

.hunter-maps-store-item:hover {
    background: #f8f9fa;
    transform: translateX(2px);
    border-left-color: #dee2e6;
}

.hunter-maps-store-item.active {
    background: #f5f5f5;
    border-left-color: var(--hunter-maps-list-accent-color) !important;
}

/* Responsive modal */
@media (max-width: 768px) {
    .hunter-maps-modal {
        width: 95%;
        margin: 20px;
    }

    .hunter-maps-modal-header{
        padding: 15px 20px;
    }

    .hunter-maps-modal-header h2 {
        font-size: 20px;
    }

    .hunter-maps-contact-btn {
        width: 100%;
        padding: 15px;
    }
}

/* Store Modal Styles - Positioned within map container */
#hunter-maps-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Hidden state for modal overlay */
#hunter-maps-modal-overlay.hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

/* Visible state for modal overlay */
#hunter-maps-modal-overlay.flex {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    padding: 10px;
    box-sizing: border-box;
}

#hunter-maps-modal {
    background: white;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

#hunter-maps-modal-overlay.flex #hunter-maps-modal {
    transform: scale(1);
}


.hunter-maps-modal-header {
    padding: 25px 25px 20px 25px;
    text-align: center;
}

.hunter-maps-store-name {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hunter-maps-modal-body {
    padding: 25px;
}

.hunter-maps-contact-item {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f0;
}

.hunter-maps-contact-item:last-child {
    border-bottom: none;
}

.hunter-maps-contact-icon {
    width: 20px;
    height: 20px;
    margin-top: 5px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hunter-maps-contact-text {
    flex: 1;
    line-height: 1.4;
}

.hunter-maps-contact-text span {
    color: #666;
    font-size: 14px;
    word-break: break-word;
}

.hunter-maps-email-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    word-break: break-word;
    transition: color 0.2s ease;
}

.hunter-maps-email-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.hunter-maps-website-link {
    color: #28a745;
    text-decoration: none;
    font-size: 14px;
    word-break: break-word;
    transition: color 0.2s ease;
}

.hunter-maps-website-link:hover {
    color: #1e7e34;
    text-decoration: underline;
}

.hunter-maps-address-link {
    color: #dc3545;
    text-decoration: none;
    font-size: 14px;
    word-break: break-word;
    transition: color 0.2s ease;
}

.hunter-maps-address-link:hover {
    color: #c82333;
    text-decoration: underline;
}

.hunter-maps-modal-footer {
    /* padding: 20px 25px 25px 25px; */
    text-align: center;
}

.hunter-maps-contact-button {
    background: #ff9800;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.hunter-maps-contact-button:hover {
    background: #f57c00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.hunter-maps-contact-button:active {
    transform: translateY(0);
}

/* Responsive modal */
/* Modal styles for mobile moved to consolidated section below */

/* Map Modal Overlay - Centered over the map */
.hunter-maps-map-container {
    position: relative;
}

#hunter-maps-modal-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10000 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#hunter-maps-modal-overlay.flex {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

#hunter-maps-modal {
    background: white !important;
    border-radius: 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    width: 500px !important;
    max-height: calc(100vh - 120px) !important;
    overflow: hidden !important;
    transform: translateY(-20px) !important;
    transition: transform 0.3s ease !important;
    max-width: none !important;
    position: relative !important;
}

#hunter-maps-modal-overlay.flex #hunter-maps-modal {
    transform: translateY(0) !important;
}

/* Responsive adjustments for map modal */
@media (max-width: 1200px) {
    #hunter-maps-modal-overlay {
        top: 80px !important;
        right: 100px !important;
    }

    #hunter-maps-modal {
        width: 480px !important;
    }
}

@media (max-width: 1024px) {
    #hunter-maps-modal-overlay {
        top: 50px !important;
        right: 50px !important;
    }

    #hunter-maps-modal {
        width: 450px !important;
    }

}

@media (max-width: 768px) {
    #hunter-maps-modal-overlay {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10000 !important;
    }

    #hunter-maps-modal {
        width: 100% !important;
        max-width: 400px !important;
        max-height: 85vh !important;
        margin: 0 !important;
        border-radius: 12px !important;
        overflow: hidden;
    }


    .hunter-maps-modal-header {
        padding: 0 0 16px 0 !important;
        margin-bottom: 16px;
        border-bottom: 1px solid #e9ecef;
    }

    .hunter-maps-modal-body {
        padding: 0 !important;
    }

    .hunter-maps-modal-footer {
        /* padding: 16px 0 0 0 !important; */
        border-top: 1px solid #e9ecef;
    }

    /* Store name */
    .hunter-maps-store-name {
        font-size: 20px !important;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    /* Contact items spacing */
    .hunter-maps-contact-item {
        padding: 12px 0 !important;
        margin: 0 !important;
    }

    .hunter-maps-contact-item:first-child {
        padding-top: 0 !important;
    }

    /* Contact button */
    .hunter-maps-contact-button {
        padding: 14px 24px !important;
        font-size: 14px !important;
        width: 100%;
        margin-top: 8px;
    }

}

@media (max-width: 480px) {


    #hunter-maps-modal {
        max-width: 100% !important;
        max-height: 90vh !important;
        border-radius: 8px !important;
    }


    .hunter-maps-store-name {
        font-size: 18px !important;
    }

    .hunter-maps-contact-button {
        padding: 12px 20px !important;
        font-size: 13px !important;
    }
}

/* Text color and font styling for modal content */
#hunter-maps-modal-content,
#hunter-maps-modal-content p,
#hunter-maps-modal-content span,
#hunter-maps-modal-content div {
    color: #5B6770;
    font-family: "Outfit", Sans-serif;
    font-size: 14px;
    font-weight: 200;
}

/* Store name title styling */
#hunter-maps-modal-content h2,
.hunter-maps-store-name {
    font-weight: 500 !important;
    text-transform: uppercase !important;
    font-size: 18px !important;
    color: #5B6770 !important;
    font-family: "Outfit", Sans-serif !important;
}

/* Contact button styling - Specific to contact button only */
.hunter-maps-contact-button,
#hunter-maps-contact-btn,
#hunter-maps-modal-content .action-buttons a,
#hunter-maps-modal-content .action-buttons button {
    font-family: 'Roboto', sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 19px !important;
    line-height: 29px !important;
    text-transform: none !important;
    color: rgb(237, 139, 0) !important;
    background-color: #ffffff !important;
    border-style: solid !important;
    border-width: 2px !important;
    border-color: rgb(237, 139, 0) !important;
    border-radius: 0 !important;
    /* padding: 20px !important; */
    transition: all 0.2s ease !important;
}

/* Hover states for contact buttons only */
.hunter-maps-contact-button:hover,
#hunter-maps-contact-btn:hover,
#hunter-maps-modal-content .action-buttons a:hover,
#hunter-maps-modal-content .action-buttons button:hover {
    background-color: rgb(237, 139, 0) !important;
    color: #ffffff !important;
}


/* Back button styling - positioned on the left side */
.hunter-maps-modal-back-btn,
#hunter-maps-modal-back {
    position: absolute !important;
    top: 0px !important;
    left: 0px !important;
    border-radius: 0 !important;
    width: 40px !important;
    height: 40px !important;
    background: #f8f8f8 !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #000000 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1001 !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
}

/* Back button hover - darker circular background */
.hunter-maps-modal-back-btn:hover,
#hunter-maps-modal-back:hover {
    background: #e0e0e0 !important;
    border-radius: 50% !important;
    color: #000000 !important;
}

/* Remove internal borders that separate items */
.hunter-maps-contact-item {
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.hunter-maps-modal-header {
    border-bottom: none !important;
    background: none !important;
}

.hunter-maps-modal-footer {
    border-top: none !important;
}

/* Link colors - same as other text with orange hover */
.hunter-maps-email-link,
.hunter-maps-website-link,
.hunter-maps-address-link,
#hunter-maps-modal-content a {
    color: #5B6770;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hunter-maps-email-link:hover,
.hunter-maps-website-link:hover,
.hunter-maps-address-link:hover,
#hunter-maps-modal-content a:hover {
    color: #ED8B00;
    text-decoration: none;
}

/* ========
================================
   FORM MODAL STYLES
   ======================================== */

/* Form modal overlay - FULLSCREEN popup */
#hunter-maps-form-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999999;
    /* Muito alto para sobrepor tudo */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Classe específica para fullscreen */
.hunter-maps-form-overlay-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
}

#hunter-maps-form-modal-overlay.hidden {
    display: none !important;
}

/* Form modal container */
#hunter-maps-form-modal {
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: visible;
    position: relative;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form modal content */
#hunter-maps-form-modal-content {
    position: relative;
    max-height: 90vh;
    overflow-y: visible;
}

/* Form container */
.hunter-maps-form-container {
    position: relative;
}

/* Form close button */
#hunter-maps-form-modal-close {
    position: absolute;
    top: 0px !important;
    right: 0px !important;
    border-radius: 0 !important;
    background: #000000 !important;
    color: #ffffff !important;
}
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #000;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    z-index: 10;
    line-height: 1;
}

#hunter-maps-form-modal-close:hover {
    background: #f8f9fa;
    color: #495057;
    transform: scale(1.1);
}

/* Form body - apenas o formulário, sem header */
.hunter-maps-form-body {
    padding: 30px;
}

/* Form loading state */
.hunter-maps-form-loading {
    text-align: center;
    padding: 60px 30px;
    color: #5B6770;
    font-family: "Outfit", Sans-serif;
    font-size: 18px;
    font-weight: 200;
}

.hunter-maps-form-loading::before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    border: 3px solid #ED8B00;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form specific styles within modal */
.hunter-maps-form-body .form_wrapper {
    margin: 0;
    max-width: none;
}

.hunter-maps-form-body .form_wrapper .form_body {
    padding: 0;
}

/* Custom form field styles */
.hunter-maps-form-body .form_wrapper .form_field {
    margin-bottom: 20px;
    padding: 0;
}

.hunter-maps-form-body .form_wrapper .form_label {
    font-family: "Outfit", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #5B6770;
    margin-bottom: 8px;
    display: block;
}

.hunter-maps-form-body .form_wrapper input[type="text"],
.hunter-maps-form-body .form_wrapper input[type="email"],
.hunter-maps-form-body .form_wrapper input[type="tel"],
.hunter-maps-form-body .form_wrapper input[type="url"],
.hunter-maps-form-body .form_wrapper input[type="number"],
.hunter-maps-form-body .form_wrapper textarea,
.hunter-maps-form-body .form_wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: "Outfit", Sans-serif;
    font-size: 16px;
    font-weight: 200;
    color: #5B6770;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.hunter-maps-form-body .form_wrapper input:focus,
.hunter-maps-form-body .form_wrapper textarea:focus,
.hunter-maps-form-body .form_wrapper select:focus {
    border-color: #ED8B00;
    outline: none;
    box-shadow: 0 0 0 3px rgba(237, 139, 0, 0.1);
}

.hunter-maps-form-body .form_wrapper textarea {
    min-height: 100px;
    resize: vertical;
}

/* Form footer */
.hunter-maps-form-body .form_wrapper .form_footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.hunter-maps-form-body .form_wrapper .form_footer input[type="submit"] {
    font-family: "Outfit", Sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 18px;
    color: #ED8B00;
    background-color: transparent;
    border: 1px solid #ED8B00;
    border-radius: 0;
    padding: 20px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.hunter-maps-form-body .form_wrapper .form_footer input[type="submit"]:hover {
    background-color: #ED8B00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(237, 139, 0, 0.3);
}

/* Validation error styles */
.hunter-maps-form-body .form_wrapper .field_error input,
.hunter-maps-form-body .form_wrapper .field_error textarea,
.hunter-maps-form-body .form_wrapper .field_error select {
    border-color: #d63638 !important;
    box-shadow: 0 0 0 3px rgba(214, 54, 56, 0.1) !important;
}

.hunter-maps-form-body .form_wrapper .validation_error {
    color: #d63638;
    font-size: 14px;
    padding: 15px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hunter-maps-form-body .form_wrapper .field_error .validation_message {
    color: #d63638;
    font-size: 13px;
    margin-top: 5px;
    display: block;
    font-family: "Outfit", Sans-serif;
    font-weight: 200;
    margin-top: 5px;
    display: block;
}

.hunter-maps-form-body .form_wrapper .field_description {
    font-family: "Outfit", Sans-serif;
    font-size: 14px;
}

/* Loading spinner for form submission */
.hunter-maps-form-body .form_ajax_spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ED8B00;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Disable submit button during submission */
.hunter-maps-form-body .form_wrapper .form_footer input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #ccc;
    border-color: #ccc;
    color: #666;
}

/* Success message styles */
.hunter-maps-form-body .form_confirmation_wrapper {
    text-align: center;
    padding: 40px 20px;
}

.hunter-maps-form-body .form_confirmation_message {
    font-family: "Outfit", Sans-serif;
    font-size: 18px;
    padding: 20px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
    margin: 20px 0;
    font-weight: 400;
    color: #28a745;
    margin: 0;
}

/* Responsive form modal */
@media (max-width: 768px) {
    #hunter-maps-form-modal-overlay {
        padding: 10px;
    }

    #hunter-maps-form-modal {
        max-width: none;
        width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .hunter-maps-form-header {
        padding: 20px 20px 15px 20px;
    }

    .hunter-maps-form-title {
        font-size: 20px;
    }

    .hunter-maps-form-subtitle {
        font-size: 14px;
    }

    .hunter-maps-form-body {
        padding: 20px;
    }

    #hunter-maps-form-modal-close {
        top: 0px !important;
        right: 0px !important;
        border-radius: 0 8px 0 8px !important;
        width: 30px;
        height: 30px;
        font-size: 24px;
    }

    .hunter-maps-form-body .form_wrapper .form_footer input[type="submit"] {
        width: 100%;
        padding: 15px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hunter-maps-form-header {
        padding: 15px 15px 10px 15px;
    }

    .hunter-maps-form-body {
        padding: 15px;
    }

    .hunter-maps-form-body .form_wrapper input[type="text"],
    .hunter-maps-form-body .form_wrapper input[type="email"],
    .hunter-maps-form-body .form_wrapper input[type="tel"],
    .hunter-maps-form-body .form_wrapper textarea,
    .hunter-maps-form-body .form_wrapper select {
        padding: 10px 12px;
        font-size: 14px;
    }

    .hunter-maps-form-body .form_wrapper .field_label {
        font-size: 14px;
    }
}

/* Form modal animations */
@keyframes formModalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes formModalSlideOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    to {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
    }
}

.hunter-maps-form-modal-enter {
    animation: formModalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hunter-maps-form-modal-exit {
    animation: formModalSlideOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Focus styles for form modal */
#hunter-maps-form-modal-close:focus,
.hunter-maps-form-body .form_wrapper input:focus,
.hunter-maps-form-body .form_wrapper textarea:focus,
.hunter-maps-form-body .form_wrapper select:focus,
.hunter-maps-form-body .form_wrapper .form_footer input[type="submit"]:focus {
    outline: 2px solid #ED8B00;
    outline-offset: 2px;
}

/* No form message styles */
.hunter-maps-no-form-message,
.hunter-maps-form-error-message {
    text-align: center;
    padding: 40px 30px;
    font-family: "Outfit", Sans-serif;
}

.hunter-maps-no-form-icon,
.hunter-maps-form-error-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.hunter-maps-no-form-message h3,
.hunter-maps-form-error-message h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 500;
    color: #5B6770;
    text-transform: uppercase;
}

.hunter-maps-no-form-message p,
.hunter-maps-form-error-message p {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 200;
    color: #5B6770;
    line-height: 1.5;
}

.hunter-maps-no-form-message p:last-child,
.hunter-maps-form-error-message p:last-child {
    margin-bottom: 0;
}

/* High contrast mode support for form modal */
@media (prefers-contrast: high) {
    #hunter-maps-form-modal {
        border: 2px solid #000;
    }

    .hunter-maps-form-body .form_wrapper input,
    .hunter-maps-form-body .form_wrapper textarea,
    .hunter-maps-form-body .form_wrapper select {
        border: 2px solid #000;
    }

    .hunter-maps-form-body .form_wrapper .form_footer input[type="submit"] {
        border: 2px solid #000;
    }
}

/* ====
====================================
   UNIFIED MODAL SYSTEM STYLES
   ======================================== */

/* Modal Overlay */
.hunter-maps-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hunter-maps-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.hunter-maps-modal-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
    position: relative;
}

.hunter-maps-modal-overlay.show .hunter-maps-modal-container {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.hunter-maps-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background: white;
    position: relative;
    z-index: 10;
}

.hunter-maps-modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
    flex: 1;
    text-align: center;
    padding: 0 2rem;
}

/* Back Button */
.hunter-maps-modal-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    position: absolute;
    left: 0.5rem;
    z-index: 11;
}

.hunter-maps-modal-back:hover {
    color: #495057;
    background: #f8f9fa;
}

.hunter-maps-modal-back.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Close Button */
.hunter-maps-modal-close {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: absolute;
    right: 0.5rem;
    z-index: 11;
}

.hunter-maps-modal-close:hover {
    color: #495057;
    background: #f8f9fa;
}

/* Modal Content Container */
.hunter-maps-modal-content {
    position: relative;
    overflow-y: visible;
    max-height: calc(90vh - 80px);
}

/* Content States */
.hunter-maps-modal-info-content,
.hunter-maps-modal-form-content {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Fade Transitions */
.hunter-maps-modal-content.transitioning-out .hunter-maps-modal-info-content,
.hunter-maps-modal-content.transitioning-out .hunter-maps-modal-form-content {
    opacity: 0;
    transform: translateX(-20px);
}

.hunter-maps-modal-content.transitioning-in .hunter-maps-modal-info-content,
.hunter-maps-modal-content.transitioning-in .hunter-maps-modal-form-content {
    opacity: 0;
    transform: translateX(20px);
}

/* Loading State */
.hunter-maps-modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hunter-maps-modal-loading.show {
    opacity: 1;
    visibility: visible;
}

.hunter-maps-modal-loading .spinner {
    width: 2rem;
    height: 2rem;
    border: 2px solid #e9ecef;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: hunter-maps-spin 1s linear infinite;
}

.hunter-maps-modal-loading span {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

/* Error State */
.hunter-maps-modal-error {
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hunter-maps-modal-error.show {
    opacity: 1;
    visibility: visible;
}

.hunter-maps-modal-error .error-container {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 1rem;
}

.hunter-maps-modal-error .error-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.hunter-maps-modal-error .error-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #721c24;
}

.hunter-maps-modal-error .error-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #721c24;
    margin: 0;
}

.hunter-maps-modal-error .error-message {
    font-size: 0.875rem;
    color: #721c24;
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.hunter-maps-modal-error .error-actions {
    display: flex;
    gap: 0.75rem;
}

.hunter-maps-modal-error .retry-button {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hunter-maps-modal-error .retry-button:hover {
    background: #c82333;
}

/* Contact Form Button */
.hunter-maps-contact-form-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hunter-maps-contact-form-btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.hunter-maps-contact-form-btn:active {
    transform: translateY(0);
}

.hunter-maps-contact-form-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Content Styles */
.hunter-maps-modal-form-content {
    padding: 1.5rem;
}

.hunter-maps-modal-form-content .form_wrapper {
    margin: 0;
}

.hunter-maps-modal-form-content .form_wrapper form {
    margin: 0;
}

.hunter-maps-modal-form-content .gfield {
    margin-bottom: 1rem;
}

.hunter-maps-modal-form-content .gfield_label {
    font-weight: 500;
    color: #212529;
    margin-bottom: 0.5rem;
    display: block;
}

.hunter-maps-modal-form-content input[type="text"],
.hunter-maps-modal-form-content input[type="email"],
.hunter-maps-modal-form-content input[type="tel"],
.hunter-maps-modal-form-content textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.hunter-maps-modal-form-content input[type="text"]:focus,
.hunter-maps-modal-form-content input[type="email"]:focus,
.hunter-maps-modal-form-content input[type="tel"]:focus,
.hunter-maps-modal-form-content textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hunter-maps-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .hunter-maps-modal-container {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 0;
        transform: translateY(100%);
    }

    .hunter-maps-modal-overlay.show .hunter-maps-modal-container {
        transform: translateY(0);
    }

    .hunter-maps-modal-header {
        padding: 1rem;
    }

    .hunter-maps-modal-title {
        font-size: 1rem;
        padding: 0 3rem;
    }

    .hunter-maps-modal-back,
    .hunter-maps-modal-close {
        padding: 0.75rem;
    }

    .hunter-maps-modal-content {
        max-height: calc(95vh - 70px);
    }

    .hunter-maps-modal-info-content,
    .hunter-maps-modal-form-content {
        padding: 1rem;
    }

    .hunter-maps-contact-form-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px;
        /* Touch-friendly */
    }
}

@media (max-width: 480px) {
    .hunter-maps-modal-container {
        border-radius: 8px 8px 0 0;
    }

    .hunter-maps-modal-header {
        padding: 0.75rem;
    }

    .hunter-maps-modal-title {
        font-size: 0.875rem;
        padding: 0 2.5rem;
    }

    .hunter-maps-modal-back,
    .hunter-maps-modal-close {
        padding: 0.5rem;
    }

    .hunter-maps-modal-back svg,
    .hunter-maps-modal-close svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {

    .hunter-maps-modal-overlay,
    .hunter-maps-modal-container,
    .hunter-maps-modal-info-content,
    .hunter-maps-modal-form-content,
    .hunter-maps-modal-loading,
    .hunter-maps-modal-error,
    .hunter-maps-contact-form-btn {
        transition: none;
    }

    .hunter-maps-modal-loading .spinner {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hunter-maps-modal-container {
        border: 2px solid #000;
    }

    .hunter-maps-modal-header {
        border-bottom: 2px solid #000;
    }

    .hunter-maps-contact-form-btn {
        border: 2px solid #000;
    }

    .hunter-maps-modal-form-content input[type="text"],
    .hunter-maps-modal-form-content input[type="email"],
    .hunter-maps-modal-form-content input[type="tel"],
    .hunter-maps-modal-form-content textarea {
        border: 2px solid #000;
    }
}

/* Focus Management */
.hunter-maps-modal-overlay:focus-within .hunter-maps-modal-container {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Prevent body scroll when modal is open */
body.hunter-maps-modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Animation Keyframes */
@keyframes hunter-maps-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* State-specific styles */
.hunter-maps-modal-container[data-state="info"] .hunter-maps-modal-back {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hunter-maps-modal-container[data-state="form"] .hunter-maps-modal-back {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Smooth transitions for state changes */
.hunter-maps-modal-container[data-state="info"] .hunter-maps-modal-title,
.hunter-maps-modal-container[data-state="form"] .hunter-maps-modal-title {
    transition: all 0.3s ease;
}

/* Loading overlay specific to form loading */
.hunter-maps-modal-form-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hunter-maps-modal-form-loading.show {
    opacity: 1;
    visibility: visible;
}

.hunter-maps-modal-form-loading .spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #e9ecef;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: hunter-maps-spin 1s linear infinite;
}

.hunter-maps-modal-form-loading span {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}


.hunter-maps-numbered-marker {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* User location marker styles */
.hunter-maps-user-marker {
    position: relative;
    z-index: 1000;
}

/* Ensure marker images don't inherit unwanted styles */
.hunter-maps-numbered-marker img {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    vertical-align: baseline !important;
}

/* Override any theme styles that might interfere */
.hunter-maps-numbered-marker img:hover {
    opacity: 1 !important;
    filter: none !important;
}
/
* ========================================
   GLOBAL CLOSE BUTTON FIX
   Ensure all close buttons are fully clickable
   ======================================== */

/* Universal close button styles */
button[id*="close"],
button[class*="close"],
.hunter-maps-modal-close,
.hunter-maps-modal-close-btn,
#hunter-maps-modal-close,
#hunter-maps-form-modal-close {
    cursor: pointer !important;
    padding: 8px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: #000000 !important;
    color: #ffffff !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
}

/* Ensure SVG/icons inside buttons don't block clicks */
button[id*="close"] svg,
button[class*="close"] svg,
button[id*="close"] .hunter-icon,
button[class*="close"] .hunter-icon,
.hunter-maps-modal-close svg,
.hunter-maps-modal-close .hunter-icon,
.hunter-maps-modal-close-btn svg,
.hunter-maps-modal-close-btn .hunter-icon,
#hunter-maps-modal-close svg,
#hunter-maps-modal-close .hunter-icon,
#hunter-maps-form-modal-close svg,
#hunter-maps-form-modal-close .hunter-icon {
    pointer-events: none !important;
    cursor: pointer !important;
    display: block !important;
    fill: #ffffff !important;
    color: #ffffff !important;
}

/* Hover states - removed hover effects */
button[id*="close"]:hover,
button[class*="close"]:hover,
.hunter-maps-modal-close:hover,
.hunter-maps-modal-close-btn:hover,
#hunter-maps-modal-close:hover,
#hunter-maps-form-modal-close:hover {
    cursor: pointer !important;
    background: #000000 !important;
    color: #ffffff !important;
}

/* Focus states - removed all focus effects */
button[id*="close"]:focus,
button[class*="close"]:focus,
.hunter-maps-modal-close:focus,
.hunter-maps-modal-close-btn:focus,
#hunter-maps-modal-close:focus,
#hunter-maps-form-modal-close:focus {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: #000000 !important;
    color: #ffffff !important;
    cursor: pointer !important;
}/* ==
======================================
   REMOVE ALL FOCUS EFFECTS FROM CLOSE BUTTONS
   Ensure no visual feedback on focus/active states
   ======================================== */

/* Remove focus effects completely */
button[id*="close"]:focus,
button[class*="close"]:focus,
.hunter-maps-modal-close:focus,
.hunter-maps-modal-close-btn:focus,
#hunter-maps-modal-close:focus,
#hunter-maps-form-modal-close:focus,
button[id*="close"]:focus-visible,
button[class*="close"]:focus-visible,
.hunter-maps-modal-close:focus-visible,
.hunter-maps-modal-close-btn:focus-visible,
#hunter-maps-modal-close:focus-visible,
#hunter-maps-form-modal-close:focus-visible {
    outline: none !important;
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: transparent !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: #000000 !important;
    color: #ffffff !important;
    transform: none !important;
    transition: none !important;
}

/* Remove active state effects */
button[id*="close"]:active,
button[class*="close"]:active,
.hunter-maps-modal-close:active,
.hunter-maps-modal-close-btn:active,
#hunter-maps-modal-close:active,
#hunter-maps-form-modal-close:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: #000000 !important;
    color: #ffffff !important;
    transform: none !important;
    transition: none !important;
}

/* Remove any webkit focus rings */
button[id*="close"]::-moz-focus-inner,
button[class*="close"]::-moz-focus-inner,
.hunter-maps-modal-close::-moz-focus-inner,
.hunter-maps-modal-close-btn::-moz-focus-inner,
#hunter-maps-modal-close::-moz-focus-inner,
#hunter-maps-form-modal-close::-moz-focus-inner {
    border: 0 !important;
    padding: 0 !important;
    outline: none !important;
}