.marker-label {
    position: absolute;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: auto;
    transform: translate(-50%, 0);
    z-index: 1000;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 2px black;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}


/* DSO Popup Styles */
.dso-popup {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid #374151;
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: white;
    font-size: 0.875rem;
    min-width: 200px;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    pointer-events: auto;
}

.dso-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #374151;
}

    .dso-popup-header h3 {
        margin: 0;
        font-size: 1rem;
        color: #60a5fa;
    }

.dso-type {
    background: #4f46e5;
    color: white;
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 0.25rem;
}

.dso-popup-body {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #d1d5db;
}

.dso-popup-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid #374151;
}

.dso-btn {
    flex: 1;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    border: 1px solid transparent;
}

.dso-btn-select {
    background-color: #3b82f6;
    color: white;
}

    .dso-btn-select:hover {
        background-color: #2563eb;
    }

.dso-btn-details {
    background-color: #4b5563;
    color: white;
}

    .dso-btn-details:hover {
        background-color: #374151;
    }

/* Override Aladin's default popup styles */
.aladin-popup {
    max-width: 300px;
}

.aladin-popup-content {
    padding: 0 !important;
}

.aladin-popup-closeButton {
    color: white !important;
    top: 0.5rem !important;
    right: 0.5rem !important;
}
