* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background-color: #1a1a1a;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
}

#loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.9);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #333;
    border-top: 4px solid #5FFFE0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.loading-text {
    font-size: 14px;
    color: #9ca3af;
}

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

.error-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 2000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#map {
    width: 100%;
    height: 100vh;
    touch-action: pan-x pan-y;
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 90px);
}

.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: linear-gradient(to bottom, #2a2a2a, #1f1f1f);
    padding: 20px 24px;
    z-index: 1000;
    border-bottom: 1px solid #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.app-header p {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
    font-weight: 400;
}

.control-btn {
    display: block;
    width: 100%;
    padding: 10px 16px;
    margin-bottom: 8px;
    background-color: #1f1f1f;
    color: #e5e5e5;
    border: 1px solid #3a3a3a;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
    text-align: left;
    border-radius: 4px;
}

.control-btn:last-child {
    margin-bottom: 0;
}

.control-btn:hover {
    background-color: #3a3a3a;
    color: #ffffff;
    border-color: #4a4a4a;
}

.control-btn:active {
    background-color: #404040;
}

.filter-sidebar {
    position: fixed;
    top: 90px;
    left: 0;
    background: #2a2a2a;
    padding: 0;
    border-right: 1px solid #3a3a3a;
    z-index: 800;
    width: 280px;
    height: calc(100vh - 90px);
    overflow-y: auto;
    transition: transform 0.25s ease;
}

.filter-sidebar.hidden {
    transform: translateX(-280px);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #1f1f1f;
    border-bottom: 1px solid #3a3a3a;
    position: sticky;
    top: 0;
    z-index: 10;
}

.filter-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.2px;
}

.toggle-btn {
    background: transparent;
    border: 1px solid #3a3a3a;
    font-size: 16px;
    cursor: pointer;
    color: #9ca3af;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.toggle-btn:hover {
    background: #3a3a3a;
    color: #ffffff;
    border-color: #4a4a4a;
}

.search-section {
    padding: 20px 24px;
    border-bottom: 1px solid #333;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 10px 16px;
    background-color: #1f1f1f;
    color: #e5e5e5;
    border: 1px solid #3a3a3a;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.15s ease;
    border-radius: 4px;
}

.search-input:focus {
    outline: none;
    border-color: #60a5fa;
    background-color: #2a2a2a;
}

.search-input::placeholder {
    color: #6b7280;
}

.search-results {
    position: absolute;
    top: 68px;
    left: 24px;
    right: 24px;
    background: #1f1f1f;
    border: 1px solid #3a3a3a;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #2a2a2a;
    transition: background-color 0.15s;
}

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

.search-result-item:hover {
    background-color: #2a2a2a;
}

.search-result-name {
    font-size: 14px;
    font-weight: 500;
    color: #e5e5e5;
    margin-bottom: 4px;
}

.search-result-details {
    font-size: 12px;
    color: #9ca3af;
}

.search-no-results {
    padding: 16px;
    text-align: center;
    color: #6b7280;
    font-size: 13px;
}

.filter-section {
    padding: 20px 24px;
    border-bottom: 1px solid #333;
}

.filter-section:last-of-type {
    border-bottom: none;
}

.filter-section h4 {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
    user-select: none;
    padding: 8px 12px;
    margin-left: -12px;
    margin-right: -12px;
    transition: background-color 0.15s;
}

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

.filter-checkbox input[type="checkbox"] {
    margin-right: 12px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #60a5fa;
}

.filter-checkbox span {
    font-size: 14px;
    color: #e5e5e5;
    font-weight: 400;
}

.teal-text {
    color: #5FFFE0;
    font-weight: 500;
}

.purple-text {
    color: #9900ff;
    font-weight: 500;
}

.clear-filters-btn {
    width: calc(100% - 48px);
    margin: 20px 24px;
    padding: 12px 16px;
    background-color: transparent;
    border: 1px solid #3a3a3a;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
    transition: all 0.15s ease;
}

.clear-filters-btn:hover {
    background-color: #3a3a3a;
    border-color: #4a4a4a;
    color: #ffffff;
}

.filter-toggle-btn {
    position: fixed;
    top: 102px;
    left: 24px;
    background: #2a2a2a;
    color: #e5e5e5;
    border: 1px solid #3a3a3a;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    z-index: 800;
    display: none;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
    border-radius: 6px;
}

.filter-toggle-btn:hover {
    background-color: #3a3a3a;
    color: #ffffff;
    border-color: #4a4a4a;
}

.filter-toggle-btn span {
    font-size: 16px;
}

.filter-sidebar.hidden ~ .filter-toggle-btn {
    display: flex;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 799;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

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

@media (min-width: 769px) {
    .sidebar-overlay {
        display: none !important;
    }
}

.legend-panel {
    position: fixed;
    bottom: 0;
    right: 0;
    background: #2a2a2a;
    padding: 0;
    border-top: 1px solid #3a3a3a;
    border-left: 1px solid #3a3a3a;
    z-index: 800;
    width: 280px;
    transition: all 0.25s ease;
    border-top-left-radius: 6px;
    overflow: hidden;
}

.legend-panel.collapsed {
    transform: translateY(100%);
}

.legend-toggle-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #2a2a2a;
    color: #e5e5e5;
    border: 1px solid #3a3a3a;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    z-index: 800;
    display: none;
    align-items: center;
    gap: 8px;
    transition: all 0.15s ease;
    border-radius: 6px;
}

.legend-toggle-btn:hover {
    background-color: #3a3a3a;
    color: #ffffff;
    border-color: #4a4a4a;
}

.legend-panel.collapsed ~ .legend-toggle-btn {
    display: flex;
}

.legend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #1f1f1f;
    border-bottom: 1px solid #3a3a3a;
}

.legend-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.2px;
}

.legend-content {
    display: block;
    padding: 20px 24px;
}

.legend-section {
    margin-bottom: 24px;
}

.legend-section:last-child {
    margin-bottom: 0;
}

.legend-section h4 {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 12px;
}

.legend-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: brightness(1.1);
    animation: bobbing 2s ease-in-out infinite;
}

.legend-item span {
    font-size: 14px;
    color: #e5e5e5;
    font-weight: 400;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    flex-shrink: 0;
}

.color-dot.teal {
    background-color: #5FFFE0;
}

.color-dot.purple {
    background-color: #9900ff;
}

@keyframes bobbing {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.detail-view-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.detail-view-overlay.active {
    display: block;
    opacity: 1;
}

.detail-view-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    z-index: 1200;
    width: calc(100% - 48px);
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    display: none;
    opacity: 0;
    transition: all 0.25s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.detail-view-modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.detail-view-header {
    display: flex;
    justify-content: flex-end;
    padding: 16px 20px;
    border-bottom: 1px solid #3a3a3a;
    position: sticky;
    top: 0;
    background: #2a2a2a;
}

.detail-close-btn {
    background: transparent;
    border: 1px solid #3a3a3a;
    font-size: 20px;
    cursor: pointer;
    color: #9ca3af;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    border-radius: 4px;
}

.detail-close-btn:hover {
    background: #3a3a3a;
    color: #ffffff;
    border-color: #4a4a4a;
}

.detail-view-content {
    padding: 24px;
    color: #e5e5e5;
}

.detail-shop-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.detail-shop-subtitle {
    font-size: 18px;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 16px;
    text-transform: capitalize;
}

.detail-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
}

.detail-rating {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section-border {
    border-top: 1px solid #3a3a3a;
    padding-top: 20px;
}

.detail-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.detail-text {
    font-size: 16px;
    color: #e5e5e5;
    line-height: 1.6;
}

.detail-link-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-link-item:last-child {
    margin-bottom: 0;
}

.detail-icon {
    font-size: 18px;
}

.detail-link {
    font-size: 16px;
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.15s;
    word-break: break-all;
}

.detail-link:hover {
    color: #93c5fd;
}

.detail-link-bold {
    font-weight: 500;
}

.popup-detail-btn {
    position: absolute;
    padding: 12px 16px;
    margin-top: 0;
    background-color: #2a2a2a;
    color: #e5e5e5;
    border: 1px solid #3a3a3a;
    border-top: 1px solid #3a3a3a;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.15s ease;
    border-radius: 0 0 4px 4px;
    display: block;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.popup-detail-btn:hover {
    background-color: #3a3a3a;
    color: #ffffff;
    border-color: #4a4a4a;
}

.popup-detail-btn:active {
    background-color: #404040;
}

.instruction-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1300;
    display: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.instruction-overlay.active {
    display: block;
    opacity: 1;
}

.instruction-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 8px;
    z-index: 1400;
    width: calc(100% - 48px);
    max-width: 650px;
    max-height: 85vh;
    overflow-y: auto;
    display: none;
    opacity: 0;
    transition: all 0.25s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.instruction-modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.instruction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #3a3a3a;
    position: sticky;
    top: 0;
    background: #2a2a2a;
}

.instruction-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.instruction-close-btn {
    background: transparent;
    border: 1px solid #3a3a3a;
    font-size: 24px;
    cursor: pointer;
    color: #9ca3af;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    border-radius: 4px;
}

.instruction-close-btn:hover {
    background: #3a3a3a;
    color: #ffffff;
    border-color: #4a4a4a;
}

.instruction-content {
    padding: 24px;
}

.instruction-section {
    margin-bottom: 24px;
}

.instruction-section:last-child {
    margin-bottom: 0;
}

.instruction-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.instruction-section p {
    font-size: 14px;
    color: #d1d5db;
    line-height: 1.6;
    margin: 0;
}

.instruction-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.instruction-section li {
    font-size: 14px;
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 10px;
}

.instruction-section li:last-child {
    margin-bottom: 0;
}

.instruction-footer {
    padding: 20px 24px;
    border-top: 1px solid #3a3a3a;
    background: #1f1f1f;
    display: flex;
    justify-content: flex-end;
}

.instruction-start-btn {
    padding: 12px 24px;
    background-color: #2a2a2a;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.15s ease;
    border-radius: 4px;
    font-family: inherit;
}

.instruction-start-btn:hover {
    background-color: #3a3a3a;
}

.instruction-start-btn:active {
    background-color: #404040;
}

@media (max-width: 768px) {
    .app-header {
        height: 80px;
        padding: 14px 20px;
    }
    
    .app-header h1 {
        font-size: 20px;
    }
    
    .app-header p {
        font-size: 13px;
    }
    
    #map {
        top: 80px;
        height: calc(100vh - 80px);
    }
    
    .filter-sidebar {
        top: 80px;
        left: 0;
        width: 85%;
        max-width: 320px;
        height: calc(100vh - 80px);
        border-right: 1px solid #3a3a3a;
        z-index: 900;
    }
    
    .filter-sidebar.hidden {
        transform: translateX(-100%);
    }
    
    .filter-toggle-btn {
        top: 92px;
        left: 16px;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .filter-toggle-btn span {
        font-size: 15px;
    }
    
    .legend-panel {
        width: 100%;
        max-width: none;
        left: 0;
        right: 0;
        bottom: 0;
        border-left: none;
        border-top-left-radius: 0;
    }
    
    .legend-toggle-btn {
        bottom: 16px;
        right: 16px;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .filter-checkbox input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
    
    .filter-checkbox span {
        font-size: 15px;
    }
    
    .toggle-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    
    .sidebar-overlay {
        z-index: 899;
    }
    
    .clear-filters-btn {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .app-header {
        height: 70px;
        padding: 12px 16px;
    }
    
    .app-header h1 {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .app-header p {
        font-size: 12px;
    }
    
    #map {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .filter-sidebar {
        top: 70px;
        width: 90%;
        max-width: none;
        height: calc(100vh - 70px);
    }
    
    .legend-panel {
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .legend-toggle-btn {
        bottom: 12px;
        right: 12px;
        padding: 9px 14px;
        font-size: 12px;
    }
    
    .legend-item {
        margin-bottom: 10px;
    }
    
    .legend-item img {
        width: 30px;
        height: 30px;
    }
    
    .legend-item span {
        font-size: 13px;
    }
    
    .filter-header h3,
    .legend-header h3 {
        font-size: 15px;
    }
    
    .filter-section h4,
    .legend-section h4 {
        font-size: 10px;
    }
    
    .filter-toggle-btn {
        top: 82px;
        left: 12px;
        padding: 9px 14px;
        font-size: 12px;
    }
    
    .clear-filters-btn {
        margin-bottom: 40px;
    }
}

@media (max-height: 600px) {
    .app-header {
        height: 70px;
        padding: 12px 20px;
    }
    
    .app-header h1 {
        font-size: 20px;
        margin-bottom: 4px;
    }
    
    .app-header p {
        font-size: 12px;
    }
    
    #map {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .filter-sidebar {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .legend-panel {
        bottom: 0;
    }
    
    .legend-toggle-btn {
        bottom: 12px;
        right: 12px;
    }
    
    .filter-toggle-btn {
        top: 82px;
    }
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4a4a4a;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a5a5a;
}

.leaflet-popup-content-wrapper {
    position: relative !important;
    background: #2a2a2a !important;
    border: 1px solid #3a3a3a !important;
    border-radius: 6px !important;
    padding: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    width: auto !important;
}

.leaflet-popup-tip {
    background: #2a2a2a !important;
    border: 1px solid #3a3a3a !important;
    box-shadow: none !important;
}

.leaflet-popup-close-button {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    color: #9ca3af !important;
    font-size: 24px !important;
    padding: 4px 8px !important;
    font-weight: 600 !important;
    background: transparent !important;
    border-radius: 4px !important;
    width: auto !important;
    height: auto !important;
}

.leaflet-popup-close-button:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.dive-shop-popup {
    font-family: system-ui, -apple-system, sans-serif;
    width: 370px;
    max-height: 390px;
    overflow-y: auto;
    color: #e5e5e5;
    background: #2a2a2a;
    border-radius: 7px;
    padding: 21px;
    padding-top: 36px;
    border: 1px solid #3a3a3a;
}

.popup-title {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ffffff;
}

.popup-subtitle {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #9ca3af;
    text-transform: capitalize;
}

.popup-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    gap: 5px;
}

.popup-header-row .popup-subtitle {
    margin-bottom: 0;
}

.popup-diveLabel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 16px;
}

.popup-rating {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.popup-section {
    margin-bottom: 16px;
}

.popup-section-border {
    border-top: 1px solid #3a3a3a;
    padding-top: 16px;
}

.popup-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.popup-text {
    font-size: 16px;
    color: #e5e5e5;
    line-height: 1.5;
}

.popup-link-item {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup-link-item:last-child {
    margin-bottom: 0;
}

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

.popup-link {
    font-size: 16px;
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.15s;
    word-break: break-all;
}

.popup-link:hover {
    color: #93c5fd;
}

.popup-link-bold {
    font-weight: 500;
}

.popup-address-link {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.15s;
}

.popup-address-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

.rating-stars {
    font-size: 18px;
    color: #fbbf24;
    letter-spacing: 2px;
    margin-right: 8px;
}

.rating-value {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 500;
}

@media (max-width: 768px) {
    .dive-shop-popup {
        width: 280px;
        max-height: 320px;
        padding: 16px;
        border-radius: 6px;
    }
    
    .popup-title {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .popup-subtitle {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .popup-section {
        margin-bottom: 12px;
    }
    
    .popup-section-border {
        padding-top: 12px;
    }
    
    .popup-label {
        font-size: 11px;
        margin-bottom: 4px;
        letter-spacing: 1px;
    }
    
    .popup-text {
        font-size: 14px;
    }
    
    .popup-link-item {
        margin-bottom: 6px;
        gap: 8px;
    }
    
    .popup-icon {
        font-size: 14px;
    }
    
    .popup-link {
        font-size: 14px;
    }
    
    .leaflet-popup-close-button {
        font-size: 24px !important;
        padding: 8px 12px !important;
    }
    
    .detail-view-modal {
        width: 95%;
        max-width: none;
        max-height: 90vh;
    }
    
    .detail-shop-title {
        font-size: 24px;
    }
    
    .detail-shop-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .dive-shop-popup {
        width: 260px;
        max-height: 280px;
        padding: 14px;
    }
    
    .popup-title {
        font-size: 16px;
    }
    
    .popup-subtitle {
        font-size: 13px;
    }
    
    .popup-text {
        font-size: 13px;
    }
    
    .popup-link {
        font-size: 13px;
    }
    
    .leaflet-popup-close-button {
        font-size: 22px !important;
        padding: 6px 10px !important;
    }
}