/* Map Page Styles */

/* Mobile Header - Show on mobile */
.mobile-header {
    display: none;
}

.menu-toggle {
    display: none;
}

.mobile-logo {
    display: none;
}

.mobile-header-spacer {
    display: none;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.sidebar-overlay.active {
    display: block;
}

/* Mobile Sidebar Active State */
@media (max-width: 768px) {
    .mobile-header {
        display: flex;
    }
    
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 240px !important;
        padding: 20px !important;
        z-index: 100;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar.active .logo span,
    .sidebar.active .nav-links span,
    .sidebar.active .upload-text {
        display: inline;
    }
    
    .sidebar.active .nav-links a {
        justify-content: flex-start;
        gap: 15px;
    }
    
    .sidebar.active .logo {
        justify-content: flex-start;
    }
    
    /* Hide sidebar text when not active */
    .sidebar .logo span,
    .sidebar .nav-links span,
    .sidebar .upload-text {
        display: none;
    }
}

.map-main-content {
    margin-left: 240px;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Map Tabs */
.map-tabs {
    display: flex;
    background: var(--card-bg);
    border-bottom: 1px solid rgba(0, 180, 216, 0.2);
    padding: 0 20px;
}

.map-tab {
    padding: 18px 30px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.map-tab:hover {
    color: var(--secondary-color);
    background: rgba(0, 180, 216, 0.1);
}

.map-tab.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    background: rgba(0, 180, 216, 0.1);
}

.map-tab i {
    font-size: 18px;
}

/* Map Wrapper */
.map-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Map Sidebar */
.map-sidebar {
    width: 380px;
    min-width: 380px;
    background: var(--card-bg);
    border-right: 1px solid rgba(0, 180, 216, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    position: relative;
    flex-shrink: 0;
}

.map-sidebar-header {
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.map-sidebar-header h2 {
    font-size: 20px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.map-sidebar-header p {
    font-size: 13px;
    color: var(--text-secondary);
}

.map-search {
    padding: 15px 20px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.map-search input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    background: var(--dark-bg);
    border: 2px solid transparent;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.map-search input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.map-search input::placeholder {
    color: var(--text-secondary);
}

.map-search i {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

/* Filter Section */
.filter-section {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-section h4 {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fish-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    padding: 6px 12px;
    background: var(--dark-bg);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-chip:hover {
    background: rgba(0, 180, 216, 0.2);
    color: var(--secondary-color);
}

.filter-chip input {
    display: none;
}

.filter-chip:has(input:checked) {
    background: var(--secondary-color);
    color: var(--dark-bg);
}

/* Location List - Scrollable */
.location-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.location-item {
    padding: 15px;
    background: var(--dark-bg);
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.location-item:hover {
    border-color: var(--secondary-color);
    transform: translateX(5px);
}

.location-item.active {
    border-color: var(--secondary-color);
    background: rgba(0, 180, 216, 0.1);
}

.location-item-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.location-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon i {
    font-size: 20px;
    color: white;
}

.location-icon.market {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
}

.location-icon.lake {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
}

.location-info {
    flex: 1;
    min-width: 0;
}

.location-name {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.location-address {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.location-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.location-tag {
    padding: 4px 10px;
    background: rgba(0, 180, 216, 0.2);
    border-radius: 15px;
    font-size: 11px;
    color: var(--accent-color);
}

.location-tag.fish {
    background: rgba(0, 210, 106, 0.2);
    color: var(--success-color);
}

.location-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
}

.location-rating i {
    color: #ffd700;
    font-size: 12px;
}

.location-rating span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Map Container */
.map-container {
    flex: 1;
    background: var(--dark-bg);
    position: relative;
    min-width: 0;
    z-index: 1;
}

#map {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Custom Leaflet Styles */
.leaflet-container {
    background: var(--dark-bg);
    font-family: 'Poppins', sans-serif;
}

.leaflet-popup-content-wrapper {
    background: var(--card-bg);
    color: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.leaflet-popup-content {
    margin: 15px;
}

.leaflet-popup-tip {
    background: var(--card-bg);
}

.leaflet-popup-close-button {
    color: var(--text-secondary) !important;
}

.leaflet-popup-close-button:hover {
    color: white !important;
}

/* Custom Marker Styles */
.custom-marker {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.custom-marker.market {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
}

.custom-marker.lake {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
}

/* Popup Content */
.popup-content {
    min-width: 200px;
}

.popup-content h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.popup-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.popup-content .popup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

.popup-content .popup-tag {
    padding: 3px 8px;
    background: rgba(0, 180, 216, 0.2);
    border-radius: 10px;
    font-size: 11px;
    color: var(--accent-color);
}

.popup-btn {
    margin-top: 12px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s ease;
}

.popup-btn:hover {
    transform: scale(1.02);
}

/* Location Modal */
.location-modal {
    max-width: 600px;
}

.location-modal-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.location-modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-modal-icon i {
    font-size: 36px;
    color: white;
}

.location-modal-icon.market {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
}

.location-modal-info h2 {
    font-size: 24px;
    color: white;
    margin-bottom: 5px;
}

.location-modal-info .address {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-modal-info .rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.location-modal-info .rating i {
    color: #ffd700;
}

.location-modal-body {
    margin-top: 20px;
}

.location-modal-section {
    margin-bottom: 20px;
}

.location-modal-section h4 {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.location-modal-section p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.fish-species-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.fish-species {
    padding: 8px 15px;
    background: rgba(0, 210, 106, 0.2);
    border-radius: 20px;
    font-size: 13px;
    color: var(--success-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.fish-species i {
    font-size: 14px;
}

.location-modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.location-modal-actions .btn {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.location-modal-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
}

.location-modal-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 180, 216, 0.4);
}

.location-modal-actions .btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.location-modal-actions .btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
}

/* Empty State */
.empty-locations {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
}

.empty-locations i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.empty-locations h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 1200px) {
    .map-sidebar {
        width: 320px;
        min-width: 320px;
    }
}

@media (max-width: 992px) {
    .map-wrapper {
        flex-direction: column;
    }
    
    .map-sidebar {
        width: 100%;
        min-width: 100%;
        height: 280px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 180, 216, 0.2);
    }
    
    .map-container {
        height: calc(100vh - 340px);
        min-height: 300px;
    }
    
    .location-list {
        max-height: 120px;
    }
}

@media (max-width: 768px) {
    .map-main-content {
        margin-left: 0 !important;
        padding-top: 0;
        padding-bottom: 60px; /* Space for bottom nav */
        width: 100%;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    
    .sidebar {
        display: none !important;
    }
    
    .sidebar.active {
        display: none !important;
    }
    
    /* Show bottom nav on map pages */
    .mobile-bottom-nav {
        display: flex !important;
    }
    
    .map-tabs {
        padding: 0 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        flex-shrink: 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .map-tab {
        padding: 12px 15px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .map-tab i {
        font-size: 16px;
    }
    
    .map-wrapper {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        min-height: 0;
    }
    
    .map-sidebar {
        width: 100% !important;
        min-width: 100% !important;
        height: auto;
        max-height: 35vh;
        flex-shrink: 0;
        border-right: none;
        border-bottom: 1px solid rgba(0, 180, 216, 0.2);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .map-sidebar-header {
        padding: 12px 15px;
        flex-shrink: 0;
    }
    
    .map-sidebar-header h2 {
        font-size: 16px;
    }
    
    .map-sidebar-header p {
        font-size: 12px;
    }
    
    .map-search {
        padding: 8px 15px;
        flex-shrink: 0;
    }
    
    .map-search input {
        padding: 10px 40px 10px 12px;
        font-size: 13px;
    }
    
    .filter-section {
        padding: 8px 15px;
        flex-shrink: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-section h4 {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .fish-filters {
        gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .filter-chip {
        padding: 5px 10px;
        font-size: 11px;
        flex-shrink: 0;
    }
    
    .location-list {
        padding: 8px;
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        min-height: 60px;
        max-height: none;
    }
    
    .location-item {
        padding: 10px;
        margin-bottom: 8px;
    }
    
    .location-icon {
        width: 36px;
        height: 36px;
    }
    
    .location-icon i {
        font-size: 16px;
    }
    
    .location-name {
        font-size: 13px;
    }
    
    .location-address {
        font-size: 11px;
    }
    
    .location-tags {
        gap: 4px;
        margin-top: 6px;
    }
    
    .location-tag {
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .map-container {
        flex: 1;
        min-height: 200px;
        height: auto !important;
        position: relative;
    }
    
    #map {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }
    
    /* Location Modal Mobile */
    .location-modal {
        max-width: 95%;
        margin: 10px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .location-modal-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .location-modal-icon {
        width: 60px;
        height: 60px;
    }
    
    .location-modal-icon i {
        font-size: 28px;
    }
    
    .location-modal-info h2 {
        font-size: 18px;
    }
    
    .location-modal-info .address {
        font-size: 12px;
        justify-content: center;
    }
    
    .location-modal-section h4 {
        font-size: 13px;
    }
    
    .location-modal-section p {
        font-size: 13px;
    }
    
    .fish-species-list {
        gap: 6px;
    }
    
    .fish-species {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .location-modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .location-modal-actions .btn {
        padding: 12px;
        font-size: 13px;
    }
    
    /* Popup Mobile */
    .popup-content {
        min-width: 150px;
    }
    
    .popup-content h3 {
        font-size: 14px;
    }
    
    .popup-content p {
        font-size: 12px;
    }
    
    .popup-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .map-main-content {
        padding-top: 50px;
    }
    
    .mobile-header {
        height: 50px;
    }
    
    .map-tabs {
        padding: 0 5px;
    }
    
    .map-tab {
        padding: 10px 12px;
        font-size: 12px;
        gap: 6px;
    }
    
    .map-tab i {
        font-size: 14px;
    }
    
    .map-sidebar {
        max-height: 30vh;
    }
    
    .map-sidebar-header {
        padding: 10px 12px;
    }
    
    .map-sidebar-header h2 {
        font-size: 14px;
        gap: 6px;
    }
    
    .map-sidebar-header p {
        font-size: 11px;
        display: none;
    }
    
    .map-search {
        padding: 6px 12px;
    }
    
    .map-search input {
        padding: 8px 35px 8px 10px;
        font-size: 12px;
        border-radius: 8px;
    }
    
    .map-search i {
        right: 25px;
        font-size: 12px;
    }
    
    .filter-section {
        padding: 6px 12px;
    }
    
    .filter-section h4 {
        font-size: 10px;
        margin-bottom: 5px;
    }
    
    .filter-chip {
        padding: 4px 8px;
        font-size: 10px;
        border-radius: 15px;
    }
    
    .location-list {
        padding: 6px;
        min-height: 50px;
    }
    
    .location-item {
        padding: 8px;
        margin-bottom: 6px;
        border-radius: 8px;
    }
    
    .location-item-header {
        gap: 8px;
        margin-bottom: 4px;
    }
    
    .location-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    
    .location-icon i {
        font-size: 14px;
    }
    
    .location-name {
        font-size: 12px;
    }
    
    .location-address {
        font-size: 10px;
    }
    
    .location-tags {
        display: none;
    }
    
    .location-rating {
        margin-top: 4px;
    }
    
    .location-rating i {
        font-size: 10px;
    }
    
    .location-rating span {
        font-size: 10px;
    }
    
    .map-container {
        flex: 1;
        min-height: 250px;
    }
    
    /* Location Modal Extra Small */
    .location-modal {
        padding: 15px;
    }
    
    .location-modal-icon {
        width: 50px;
        height: 50px;
    }
    
    .location-modal-icon i {
        font-size: 24px;
    }
    
    .location-modal-info h2 {
        font-size: 16px;
    }
    
    .location-modal-body {
        margin-top: 15px;
    }
    
    .location-modal-section {
        margin-bottom: 15px;
    }
    
    .fish-species {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .empty-locations {
        padding: 20px 15px;
    }
    
    .empty-locations i {
        font-size: 36px;
    }
    
    .empty-locations h4 {
        font-size: 14px;
    }
}

/* Enhanced Tide Popup Styles */
.tide-popup {
    min-width: 320px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.popup-header {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(30, 64, 175, 0.2);
}

.popup-header h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e40af;
}

.popup-region {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.popup-location {
    margin: 8px 0;
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
}

.popup-location i {
    color: #1e40af;
}

.next-tide-box {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
    color: white;
}

.next-tide-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.next-tide-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.next-tide-type {
    font-weight: 700;
    font-size: 14px;
}

.next-tide-time {
    font-size: 16px;
    font-weight: 700;
}

.next-tide-height {
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
}

.todays-tides-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0;
}

.todays-tides-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: #475569;
}

.tide-row-popup {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #e2e8f0;
}

.tide-row-popup:last-child {
    border-bottom: none;
}

.tide-row-popup.past {
    opacity: 0.5;
}

.tide-icon {
    font-size: 16px;
}

.tide-type-popup {
    flex: 1;
    font-weight: 600;
    font-size: 13px;
    color: #334155;
}

.tide-time-popup {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
}

.tide-height-popup {
    font-weight: 600;
    font-size: 13px;
    color: #64748b;
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 4px;
}

.fishing-tip-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 6px;
    padding: 10px 12px;
    margin: 12px 0;
}

.fishing-tip-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    color: #92400e;
}

.fishing-tip-text {
    font-size: 12px;
    color: #78350f;
    line-height: 1.4;
}

.popup-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.popup-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.popup-btn.primary {
    background: #1e40af;
    color: white;
}

.popup-btn.primary:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(30, 64, 175, 0.3);
}

.popup-btn.secondary {
    background: #e2e8f0;
    color: #475569;
}

.popup-btn.secondary:hover {
    background: #cbd5e1;
    transform: translateY(-1px);
}

/* Better tide marker styling */
.custom-marker.tide-marker {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.2s;
}

.custom-marker.tide-marker:hover {
    transform: scale(1.1);
}

/* Leaflet popup customization for tide popups */
.leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.leaflet-popup-content {
    margin: 16px;
}
