/* Enhanced Map Styles for Silksong Map v2 */
/* Coordinates, sidebar, and authentic styling based on thesilksongmap.com */

/* Map Container Layout - Full screen game map */
.map-container {
    position: relative;
    height: 600px;
    border: none;
    border-radius: 0;
    overflow: hidden;
    background: #000;
    display: block;
}

.enhanced-interactive-map {
    height: 100% !important;
    width: 100% !important;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
}

/* Coordinate Display */
.coordinate-display {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 8px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 11px;
    font-weight: normal;
    backdrop-filter: blur(5px);
    min-width: 100px;
}

.coords-label {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 6px;
}

.coords-value {
    color: white;
    font-weight: normal;
    font-family: monospace;
}

/* Coordinate Grid Labels */
.coordinate-label {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 2px !important;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 10px !important;
    font-weight: normal !important;
    text-align: center !important;
    backdrop-filter: blur(3px) !important;
}

/* Enhanced Sidebar - Positioned for full game map */
.map-sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 200px;
    background: rgba(0, 0, 0, 0.9);
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transform: translateX(0);
    transition: transform 0.4s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.map-sidebar.collapsed {
    transform: translateX(-170px);
}

.sidebar-header {
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
}

.sidebar-header h3 {
    color: white;
    margin: 0;
    font-size: 0.9rem;
    font-weight: normal;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.sidebar-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Search Section */
.search-section {
    position: relative;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--needle-silver);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 16px;
    line-height: 1;
}

.search-clear:hover {
    background: rgba(192, 197, 206, 0.2);
    color: var(--hornet-red);
}

/* Filter Section */
.filters-section {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    margin-top: 15px;
}

.filters-section h4 {
    color: white;
    margin: 0 0 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
}

/* Progress Section */
.progress-section {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    margin-top: 15px;
}

.progress-section h4 {
    color: white;
    margin: 0 0 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 5px;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.stat-item {
    text-align: center;
    padding: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #4CAF50;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Enhanced Boss Guide Modal */
.boss-guide-modal .modal-content {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 12px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid #444;
}

.boss-guide-modal .modal-header {
    background: linear-gradient(135deg, #c73e1d, #a63317);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

.boss-guide-modal .modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.boss-guide-modal .modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.boss-guide-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.boss-guide-modal .modal-body {
    padding: 20px;
    color: white;
}

.boss-guide-modal .boss-overview {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.boss-guide-modal .boss-image-placeholder {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #333, #555);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #666;
}

.boss-guide-modal .boss-icon-large {
    font-size: 48px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.boss-guide-modal .boss-details {
    flex: 1;
}

.boss-guide-modal .boss-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ddd;
    font-style: italic;
}

.boss-guide-modal .boss-stats-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.boss-guide-modal .boss-stats-detailed .stat {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #444;
}

.boss-guide-modal .boss-stats-detailed .label {
    font-size: 12px;
    color: #aaa;
    margin-right: 8px;
}

.boss-guide-modal .boss-stats-detailed .value {
    font-weight: 600;
    color: white;
}

.boss-guide-modal .difficulty-easy {
    color: #4CAF50;
}

.boss-guide-modal .difficulty-medium {
    color: #FF9800;
}

.boss-guide-modal .difficulty-hard {
    color: #f44336;
}

.boss-guide-modal .guide-sections {
    space-y: 20px;
}

.boss-guide-modal .guide-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #333;
}

.boss-guide-modal .guide-section h3 {
    margin: 0 0 15px 0;
    color: #d4af37;
    font-size: 1.2rem;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
}

.boss-guide-modal .strategy-phase {
    background: rgba(74, 124, 60, 0.1);
    border-left: 3px solid #4a7c3c;
    padding: 12px 16px;
    margin: 10px 0;
    border-radius: 0 6px 6px 0;
}

.boss-guide-modal .strategy-phase h4 {
    margin: 0 0 8px 0;
    color: #5a8c4c;
    font-size: 1rem;
}

.boss-guide-modal .strategy-phase p {
    margin: 4px 0;
    color: #ddd;
    font-size: 14px;
}

.boss-guide-modal .rewards-list,
.boss-guide-modal .tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.boss-guide-modal .rewards-list li,
.boss-guide-modal .tips-list li {
    padding: 6px 0;
    color: #ddd;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.boss-guide-modal .rewards-list li:last-child,
.boss-guide-modal .tips-list li:last-child {
    border-bottom: none;
}

.boss-guide-modal .modal-footer {
    padding: 20px;
    background: #222;
    border-radius: 0 0 10px 10px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid #444;
}

.boss-guide-modal .btn-primary,
.boss-guide-modal .btn-secondary {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.boss-guide-modal .btn-primary {
    background: linear-gradient(135deg, #c73e1d, #a63317);
    color: white;
}

.boss-guide-modal .btn-primary:hover {
    background: linear-gradient(135deg, #d44e2d, #b64327);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(199, 62, 29, 0.4);
}

.boss-guide-modal .btn-secondary {
    background: #555;
    color: white;
    border: 1px solid #666;
}

.boss-guide-modal .btn-secondary:hover {
    background: #666;
    border-color: #777;
}

/* Enhanced popup styles for boss stats */
.boss-stats {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.boss-stats .stat-item {
    flex: 1;
    text-align: center;
}

.boss-stats .stat-label {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.boss-stats .stat-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.boss-actions {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.boss-guide-btn {
    background: linear-gradient(135deg, #4a6b8a, #5a7b9a);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.boss-guide-btn:hover {
    background: linear-gradient(135deg, #5a7b9a, #6a8baa);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 107, 138, 0.4);
}

/* Pulse animation for highlighted markers */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--moss-green);
}

.filter-header h4 {
    color: var(--silk-white);
    margin: 0;
    font-family: 'Cinzel', serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-actions {
    display: flex;
    gap: 8px;
}

.filter-action {
    background: rgba(248, 246, 240, 0.1);
    border: 1px solid var(--needle-silver);
    color: var(--silk-white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
}

.filter-action:hover {
    background: var(--pharloom-gold);
    color: var(--shadow-purple);
    border-color: var(--pharloom-gold);
}

/* Category Filters */
.category-filters {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.category-filter {
    transition: all 0.3s ease;
    border-radius: 0;
    padding: 0;
}

.category-filter:hover {
    background: rgba(255, 255, 255, 0.1);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 12px;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.filter-checkbox:hover {
    background: rgba(255, 255, 255, 0.15);
}

.category-checkbox {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    accent-color: #4CAF50;
}

.category-icon {
    font-size: 14px;
    margin-right: 4px;
}

.filter-label {
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    font-weight: normal;
    flex: 1;
}

.filter-count {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    background: rgba(255, 255, 255, 0.1);
    padding: 1px 4px;
    border-radius: 2px;
    min-width: 20px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: normal;
}

/* Progress Section */
.progress-section {
    border: 2px solid var(--coral-pink);
    border-radius: 8px;
    background: rgba(255, 107, 157, 0.1);
    padding: 15px;
}

.progress-section h4 {
    color: var(--silk-white);
    margin: 0 0 15px 0;
    font-family: 'Cinzel', serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stat-item {
    text-align: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(255, 107, 157, 0.3);
}

.stat-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--coral-pink);
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 5px rgba(255, 107, 157, 0.5);
}

.stat-label {
    font-size: 10px;
    color: var(--silk-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    font-family: 'Cinzel', serif;
}

/* View Controls */
.view-controls {
    border: 2px solid var(--bone-beige);
    border-radius: 8px;
    background: rgba(232, 220, 192, 0.1);
    padding: 15px;
}

.view-controls h4 {
    color: var(--silk-white);
    margin: 0 0 15px 0;
    font-family: 'Cinzel', serif;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: var(--silk-white);
    font-size: 13px;
    font-family: 'Crimson Text', serif;
}

.checkbox-container:hover {
    background: rgba(255, 255, 255, 0.1);
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--bone-beige);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 220, 192, 0.1);
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--bone-beige);
    border-color: var(--bone-beige);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: var(--shadow-purple);
    font-weight: bold;
    font-size: 12px;
}

/* Custom Map Markers */
.custom-map-marker {
    background: none !important;
    border: none !important;
}

.boss-marker-container {
    position: relative;
}

.boss-marker {
    background: var(--hornet-gradient);
    border: 3px solid var(--pharloom-gold);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(199, 62, 29, 0.4);
    cursor: pointer;
}

.boss-marker:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(199, 62, 29, 0.6);
}

.boss-icon {
    font-size: 16px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.boss-difficulty {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    background: var(--pharloom-gold);
    color: var(--shadow-purple);
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: bold;
    white-space: nowrap;
    font-family: 'Cinzel', serif;
}

.bench-marker-container {
    position: relative;
}

.bench-marker {
    background: var(--moss-green);
    border: 2px solid var(--silk-white);
    border-radius: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(74, 124, 60, 0.4);
    cursor: pointer;
}

.bench-marker:hover {
    transform: scale(1.1);
    background: #5a8c4c;
}

.bench-icon {
    font-size: 14px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.collectible-marker-container {
    position: relative;
}

.collectible-marker {
    background: var(--coral-pink);
    border: 2px solid var(--silk-white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: visible;
}

.collectible-marker:hover {
    transform: scale(1.15);
}

.collectible-icon {
    font-size: 12px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    z-index: 2;
}

.collectible-glow {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: collectibleGlow 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes collectibleGlow {
    0%, 100% { 
        opacity: 0.4; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.2);
    }
}

.default-marker {
    background: var(--needle-silver);
    border: 2px solid var(--silk-white);
    border-radius: 6px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.default-marker:hover {
    transform: scale(1.1);
    background: #d0d5dc;
}

.marker-icon {
    font-size: 13px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Found/Progress states */
.custom-map-marker.found {
    opacity: 0.6;
    filter: saturate(0.3);
}

.custom-map-marker.found::after {
    content: '✓';
    position: absolute;
    top: -6px;
    right: -6px;
    width: 14px;
    height: 14px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid var(--silk-white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Enhanced Popups */
.silksong-popup {
    font-family: 'Crimson Text', serif;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid var(--hornet-red);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.silksong-popup .leaflet-popup-content-wrapper {
    background: var(--silk-gradient);
    color: var(--shadow-purple);
    border-radius: 8px;
    padding: 0;
}

.silksong-popup .leaflet-popup-content {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.silksong-popup .leaflet-popup-tip {
    background: var(--silk-white);
    border: 2px solid var(--hornet-red);
    border-top: none;
    border-right: none;
}

.location-popup {
    min-width: 280px;
    max-width: 380px;
}

.popup-header {
    background: var(--hornet-gradient);
    color: var(--silk-white);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid var(--pharloom-gold);
}

.popup-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.popup-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-family: 'Cinzel', serif;
}

.popup-coordinates {
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid var(--pharloom-gold);
    font-size: 0.9rem;
    font-family: 'Cinzel', serif;
}

.popup-description {
    padding: 12px 16px;
    border-bottom: 1px solid var(--needle-silver);
    font-style: italic;
}

.boss-info {
    padding: 12px 16px;
    background: rgba(199, 62, 29, 0.05);
}

.boss-difficulty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.difficulty-label {
    font-weight: 600;
    color: var(--shadow-purple);
}

.difficulty-value {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
}

.difficulty-value.easy {
    background: var(--success-color);
    color: white;
}

.difficulty-value.medium {
    background: var(--warning-color);
    color: white;
}

.difficulty-value.hard {
    background: var(--error-color);
    color: white;
}

.boss-strategy {
    margin: 10px 0;
    padding: 10px;
    background: rgba(74, 124, 60, 0.1);
    border-left: 3px solid var(--moss-green);
    border-radius: 4px;
}

.boss-strategy h4 {
    margin: 0 0 6px 0;
    color: var(--moss-green);
    font-size: 0.95rem;
}

.boss-strategy p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.boss-rewards {
    margin: 10px 0;
}

.boss-rewards h4 {
    margin: 0 0 6px 0;
    color: var(--pharloom-gold);
    font-size: 0.95rem;
}

.boss-rewards ul {
    margin: 0;
    padding-left: 18px;
}

.boss-rewards li {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.popup-area {
    padding: 8px 16px;
    background: rgba(192, 197, 206, 0.1);
    border-bottom: 1px solid var(--needle-silver);
    font-size: 0.9rem;
}

.popup-actions {
    padding: 12px 16px;
    text-align: center;
}

.progress-btn {
    background: var(--pharloom-gradient);
    color: var(--silk-white);
    border: 2px solid var(--pharloom-gold);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.progress-btn:hover {
    background: linear-gradient(135deg, #e5c142, var(--pharloom-gold));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.progress-btn.found {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.progress-btn.found:hover {
    background: #5cb85c;
    border-color: #5cb85c;
}

/* Map Controls */
.map-controls {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(0, 0, 0, 0.8);
    padding: 6px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.control-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Leaflet Zoom Control Styling */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: none !important;
}

.leaflet-control-zoom a {
    background: rgba(0, 0, 0, 0.8) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 3px !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 30px !important;
    font-size: 14px !important;
    text-decoration: none !important;
    margin-bottom: 2px !important;
}

.leaflet-control-zoom a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .map-sidebar {
        width: 280px;
    }
    
    .map-sidebar.collapsed {
        transform: translateX(-250px);
    }
    
    .sidebar-content {
        padding: 15px;
    }
    
    .progress-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .location-popup {
        min-width: 240px;
        max-width: 300px;
    }
    
    .map-container {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .map-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 3px solid var(--hornet-red);
        height: auto;
        max-height: 300px;
        top: auto;
        bottom: 0;
    }
    
    .map-sidebar.collapsed {
        transform: translateY(250px);
    }
    
    .sidebar-content {
        max-height: 200px;
        overflow-y: auto;
    }
    
    .progress-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    
    .stat-item {
        padding: 4px;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 9px;
    }
    
    .map-container {
        height: 400px;
    }
    
    .coordinate-display {
        font-size: 10px;
        padding: 6px 8px;
    }
}